snowdd1 / homebridge-knx

KNX platform shim for homebridge
https://github.com/nfarina/homebridge
GNU General Public License v2.0
97 stars 56 forks source link

Fixed OneWaySwitch, "On characteristic" bool format #103

Closed gkuehn001 closed 6 years ago

gkuehn001 commented 6 years ago

In my case (iOS 10.3.3, latest versions of homebridge and homebridge-knx), the parameter 'newValue' is passed as a Boolean. Thus, the strict comparison always evaluates to false. Changing this to be evaluated as a non strict comparison, the OneWaySwitch works as intended for me.

OliAhn commented 6 years ago

I was wondering what happens - now it is working like before! Thank You!!!! Oliver

snowdd1 commented 6 years ago

Cool, thanks.