luisiam / homebridge-cmdswitch2

CMD Plugin for HomeBridge (API 2.0): https://github.com/nfarina/homebridge
Apache License 2.0
176 stars 29 forks source link

Appear as sensor if On and Off commands are omitted #46

Open raygan opened 6 years ago

raygan commented 6 years ago

I'd like to be able to set a state command without needing to set up an on/off command, and have the results appear as a sensor such as a motion sensor rather than as a switch. This would be simper for devices where checking the state is useful for automations but which don't need to be controlled from HomeKit. It would also give more flexibility for notifications, since HomeKit does not have the option to notify you of changes to a switch/light.