Closed rogchap closed 11 months ago
I have this same issue, running HB 1.5.0 and delay 3.0.3.
Also having this error!
[11/07/2022, 17:27:26] [homebridge-delay-switch] This plugin threw an error from the characteristic 'Contact Sensor State': Unhandled error thrown inside read handler for characteristic: sensorType is not defined. See https://homebridge.io/w/JtMGR for more info.
When ticking "flip sensor state"
Same here, really hope this can be fixed
Same here
Same here.
line 31 in index.js ->if (this.flipSensor && sensorType === 'motion'), there should be this. before sensorType
line 31 in index.js ->if (this.flipSensor && sensorType === 'motion'), there should be this. before sensorType
Cage's comment works like a charm. if (this.flipSensor && this.sensorType === 'motion')
fixed in 3.0.4
Any time I set
flipSensorState=true
I always get this error:I'm running Homebridge v1.4.1 and homebridge-delay-switch v3.0.3