2 Commits
Author SHA1 Message Date
dennis fe1dcb1f7c 0.1.3 2023-02-05 00:00:16 +01:00
dennis 938598575e Changed/fixxed logging 2023-02-05 00:00:12 +01:00
5 changed files with 7 additions and 7 deletions

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@
"resetAfterSwitchOff": {
"title": "Reset when switch turned `Off`",
"type": "boolean",
"description": "Reset the switch and trigger index, when the trigger switch is turned `Off` (independent from timeout)",
"description": "Reset the switch and trigger index, when the trigger switch is turned <code>Off</code> (independent from timeout)",
"required": true,
"default": false
},
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "homebridge-multitap-switch",
"version": "0.1.1",
"version": "0.1.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "homebridge-multitap-switch",
"version": "0.1.1",
"version": "0.1.3",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.10.9",
+1 -1
View File
@@ -2,7 +2,7 @@
"private": false,
"displayName": "Homebridge Multi-Tap-Switch",
"name": "homebridge-multi-tap-switch",
"version": "0.1.2",
"version": "0.1.3",
"description": "A configurable multi-tap switch for i.e. switching scenes",
"license": "MIT",
"repository": {
+2 -2
View File
@@ -21,8 +21,8 @@ export class Logging {
log(...parts: any) {
this.isDebug ?
this.logHandler.debug(this.msgPrefix(), ...parts) :
this.logHandler.info(this.msgPrefix(), ...parts);
this.logHandler.info(this.msgPrefix(), ...parts) :
this.logHandler.debug(this.msgPrefix(), ...parts);
}
warn = (...parts: any) => this.logHandler.warn(this.msgPrefix(), ...parts);
+1 -1
View File
@@ -83,7 +83,7 @@ export class MultiTapSwitchPlatform implements DynamicPlatformPlugin {
// existingAccessory.context.device = device;
// this.api.updatePlatformAccessories([existingAccessory]);
if (existingAccessory.context.config !== device) {
this.log.info('Update Accessory ->', device.name);
this.log.debug('Update Accessory ->', device.name);
existingAccessory.context.config = device;
this.api.updatePlatformAccessories([existingAccessory]);
}