jchassin / homebridge-owfs

Home bridge plugin interfaced to OWFS (1-wire)
MIT License
5 stars 3 forks source link

Wrong state applied when using automation #13

Closed jchassin closed 3 years ago

jchassin commented 3 years ago

With sensor DS2408 When the switch is set twice time to 0, it goes first to 0 and then come back to 1 (typically when an automation switches off after a manual switch off).

jchassin commented 3 years ago

Line 124, algorithm consisted in toggle the output instead of application of the given state. Now fixed in 1.5.2