homebridge-smartsystem 6.8.11 → 6.8.12

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.
@@ -13,6 +13,7 @@ const accessory_1 = require("./accessory");
13
13
  class GarageDoor extends accessory_1.Accessory {
14
14
  constructor(homebridge, unit) {
15
15
  super(homebridge, unit);
16
+ this.targetState = this.homebridge.Characteristic.CurrentDoorState.STOPPED;
16
17
  }
17
18
  getAccessoryServices() {
18
19
  // GarageDoorOpener needs authentication
@@ -1,4 +1,4 @@
1
- import { API } from "homebridge";
1
+ import { API, Characteristic } from "homebridge";
2
2
  import { Unit } from "../duotecno/protocol";
3
3
  import { UnitMotorCmd, UnitState } from "../duotecno/types";
4
4
  import { log } from "../duotecno/logger";
@@ -14,7 +14,7 @@ import { Accessory } from "./accessory";
14
14
 
15
15
 
16
16
  export class GarageDoor extends Accessory {
17
- targetState;
17
+ targetState = this.homebridge.Characteristic.CurrentDoorState.STOPPED;
18
18
 
19
19
  constructor(homebridge: API, unit: Unit) {
20
20
  super(homebridge, unit);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-smartsystem",
3
3
  "displayname": "Duotecno Bridge",
4
- "version": "6.8.11",
4
+ "version": "6.8.12",
5
5
  "description": "SmartServer (Proxy TCP sockets to the cloud, Smappee MQTT, Duotecno IP Nodes, Homekit interface)",
6
6
  "main": "index.js",
7
7
  "author": "Johan Coppieters",