sibartlett / homebridge-wink3

Homebridge plugin for wink.com
https://sibartlett.github.io/homebridge-wink3
ISC License
54 stars 20 forks source link

Update binary_switch.js #61

Closed mriksman closed 7 years ago

mriksman commented 7 years ago

Added support for leakSMART valve by checking for state.opened. Added config option for outlets and switches. Modified state.consumption (consumption only exists for Quirky Outlinks)

mriksman commented 7 years ago

Sorry if I have done this whole pull/fork/edit thing wrong - it's the first one I've done.

sibartlett commented 7 years ago

I've tidied the commit up here: #64

I also removed the valve_ids config option, because switch_ids can accommodate that case.

sibartlett commented 7 years ago

Closing, as the other pull request was merged