Skip to content

Commit

Permalink
Merge branch 'master' of github.com:XHunter74/ioBroker.apcups
Browse files Browse the repository at this point in the history
  • Loading branch information
XHunter74 committed May 5, 2024
2 parents 422e815 + c07c6fc commit 20d15dc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"common": {
"name": "apcups",
"version": "3.9.4",
"version": "3.9.5",
"news": {
"1.0.8": {
"en": "Added validation on config screen",
Expand Down
4 changes: 2 additions & 2 deletions lib/normalizer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Normaliser {
class Normalizer {

normalizeUpsResult(state) {
state = this.#normalizeDates(state);
Expand Down Expand Up @@ -69,4 +69,4 @@ class Normaliser {
}
}

module.exports = Normaliser;
module.exports = Normalizer;
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const ApcAccess = require('./lib/apcaccess');
const Normaliser = require('./lib/normalizer');
const Normalizer = require('./lib/normalizer');


const utils = require('@iobroker/adapter-core');
Expand Down Expand Up @@ -151,7 +151,7 @@ class ApcUpsAdapter extends utils.Adapter {
}

initializeApcAccess() {
this.normalizer = new Normaliser();
this.normalizer = new Normalizer();
this.apcAccess = new ApcAccess();
this.apcAccess.on('error', async (error) => {
this.log.debug(`Error from apcupsd: ${error}`);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.apcups",
"version": "3.9.4",
"version": "3.9.5",
"description": "Adapter to communicate with APC UPS via apcupsd",
"author": {
"name": "Serhiy Krasovskyy",
Expand Down

0 comments on commit 20d15dc

Please sign in to comment.