homebridge-loxone-proxy 1.9.0-beta.2 → 1.9.0-beta.3

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.
@@ -1,5 +1,6 @@
1
1
  import { LoxoneAccessory } from '../../LoxoneAccessory';
2
2
  export declare class PresenceDetector extends LoxoneAccessory {
3
+ protected isSupported(): boolean;
3
4
  configureServices(): void;
4
5
  }
5
6
  //# sourceMappingURL=PresenceDetector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresenceDetector.d.ts","sourceRoot":"","sources":["../../../src/loxone/items/PresenceDetector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAMxD,qBAAa,gBAAiB,SAAQ,eAAe;IAEnD,iBAAiB,IAAI,IAAI;CAU1B"}
1
+ {"version":3,"file":"PresenceDetector.d.ts","sourceRoot":"","sources":["../../../src/loxone/items/PresenceDetector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAMxD,qBAAa,gBAAiB,SAAQ,eAAe;IAEnD,SAAS,CAAC,WAAW,IAAI,OAAO;IAKhC,iBAAiB,IAAI,IAAI;CAO1B"}
@@ -4,8 +4,11 @@ exports.PresenceDetector = void 0;
4
4
  const LoxoneAccessory_1 = require("../../LoxoneAccessory");
5
5
  const OccupancySensor_1 = require("../../homekit/services/OccupancySensor");
6
6
  class PresenceDetector extends LoxoneAccessory_1.LoxoneAccessory {
7
- configureServices() {
7
+ isSupported() {
8
8
  this.device.name = `${this.device.room} ${this.device.name}`;
9
+ return true;
10
+ }
11
+ configureServices() {
9
12
  this.ItemStates = {
10
13
  [this.device.states.active]: { 'service': 'PrimaryService', 'state': 'active' },
11
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"PresenceDetector.js","sourceRoot":"","sources":["../../../src/loxone/items/PresenceDetector.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AACxD,4EAAyE;AAKzE,MAAa,gBAAiB,SAAQ,iCAAe;IAEnD,iBAAiB;QAEf,IAAI,CAAC,MAAM,CAAC,IAAI,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QAE7D,IAAI,CAAC,UAAU,GAAG;YAChB,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAC,SAAS,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAC;SAC9E,CAAC;QAEF,IAAI,CAAC,OAAO,CAAC,cAAc,GAAG,IAAI,iCAAe,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAU,CAAC,CAAC;IACpF,CAAC;CACF;AAZD,4CAYC"}
1
+ {"version":3,"file":"PresenceDetector.js","sourceRoot":"","sources":["../../../src/loxone/items/PresenceDetector.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AACxD,4EAAyE;AAKzE,MAAa,gBAAiB,SAAQ,iCAAe;IAEzC,WAAW;QACnB,IAAI,CAAC,MAAM,CAAC,IAAI,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QAC7D,OAAO,IAAI,CAAC;IACd,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,UAAU,GAAG;YAChB,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAC,SAAS,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAC;SAC9E,CAAC;QAEF,IAAI,CAAC,OAAO,CAAC,cAAc,GAAG,IAAI,iCAAe,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAU,CAAC,CAAC;IACpF,CAAC;CACF;AAdD,4CAcC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "displayName": "Homebridge Loxone Proxy",
4
4
  "name": "homebridge-loxone-proxy",
5
- "version": "1.9.0-beta.2",
5
+ "version": "1.9.0-beta.3",
6
6
  "description": "Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit.",
7
7
  "license": "Apache-2.0",
8
8
  "repository": {