homebridge-zencontrol-tpi 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -224,12 +224,12 @@ export class ZencontrolLightPlatformAccessory {
224
224
  const brightness = arcLevel > 0 ? Math.max(1, Math.round(arcLevelToPercentage(arcLevel))) : 0;
225
225
  const on = arcLevel > 0;
226
226
  if (brightness !== this.knownBrightness) {
227
- this.platform.log.debug(`Received from controller: ${this.accessory.displayName} brightness to ${brightness}`);
227
+ this.platform.log.info(`Received from controller: ${this.accessory.displayName} brightness to ${brightness}`);
228
228
  this.knownBrightness = brightness;
229
229
  this.service.updateCharacteristic(this.platform.Characteristic.Brightness, brightness);
230
230
  }
231
231
  if (on !== this.knownOn) {
232
- this.platform.log.debug(`Received from controller: ${this.accessory.displayName} on/off to ${on ? 'on' : 'off'}`);
232
+ this.platform.log.info(`Received from controller: ${this.accessory.displayName} on/off to ${on ? 'on' : 'off'}`);
233
233
  this.knownOn = on;
234
234
  this.service.updateCharacteristic(this.platform.Characteristic.On, on);
235
235
  }
package/dist/platform.js CHANGED
@@ -205,7 +205,7 @@ export class ZencontrolTPIPlatform {
205
205
  let acc;
206
206
  if (existingAccessory) {
207
207
  // the accessory already exists
208
- this.log.info('Restoring existing light accessory from cache:', existingAccessory.displayName);
208
+ this.log.debug('Restoring existing light accessory from cache:', existingAccessory.displayName);
209
209
  this.updateAccessory(existingAccessory, { address, label, model, serial });
210
210
  // create the accessory handler for the restored accessory
211
211
  // this is imported from `platformAccessory.ts`
@@ -235,7 +235,7 @@ export class ZencontrolTPIPlatform {
235
235
  const existingAccessory = this.accessories.get(uuid);
236
236
  let acc;
237
237
  if (existingAccessory) {
238
- this.log.info('Restoring existing relay accessory from cache:', existingAccessory.displayName);
238
+ this.log.debug('Restoring existing relay accessory from cache:', existingAccessory.displayName);
239
239
  this.updateAccessory(existingAccessory, { address, label, model, serial });
240
240
  acc = new ZencontrolRelayPlatformAccessory(this, existingAccessory);
241
241
  }
@@ -254,7 +254,7 @@ export class ZencontrolTPIPlatform {
254
254
  const existingAccessory = this.accessories.get(uuid);
255
255
  let acc;
256
256
  if (existingAccessory) {
257
- this.log.info('Restoring existing temperature accessory from cache:', existingAccessory.displayName);
257
+ this.log.debug('Restoring existing temperature accessory from cache:', existingAccessory.displayName);
258
258
  this.updateAccessory(existingAccessory, { address, label, model, serial });
259
259
  acc = new ZencontrolTemperaturePlatformAccessory(this, existingAccessory);
260
260
  }
@@ -273,7 +273,7 @@ export class ZencontrolTPIPlatform {
273
273
  const existingAccessory = this.accessories.get(uuid);
274
274
  let acc;
275
275
  if (existingAccessory) {
276
- this.log.info('Restoring existing humidity accessory from cache:', existingAccessory.displayName);
276
+ this.log.debug('Restoring existing humidity accessory from cache:', existingAccessory.displayName);
277
277
  this.updateAccessory(existingAccessory, { address, label, model, serial });
278
278
  acc = new ZencontrolHumidityPlatformAccessory(this, existingAccessory);
279
279
  }
@@ -292,7 +292,7 @@ export class ZencontrolTPIPlatform {
292
292
  const existingAccessory = this.accessories.get(uuid);
293
293
  let acc;
294
294
  if (existingAccessory) {
295
- this.log.info('Restoring existing lux accessory from cache:', existingAccessory.displayName);
295
+ this.log.debug('Restoring existing lux accessory from cache:', existingAccessory.displayName);
296
296
  this.updateAccessory(existingAccessory, { address, label, model, serial });
297
297
  acc = new ZencontrolLuxPlatformAccessory(this, existingAccessory);
298
298
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-zencontrol-tpi",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",