MacWyznawca / homebridge-mqtt-switch-tasmota

Plugin to HomeBridge optimized to work with firmware Sonoff-Tasmota, MQTT.
MIT License
57 stars 18 forks source link

Subscribe to mqtt topics after reconnect, bind this to callbacks instead of using that, and use updateValue instead of setValue #55

Open DanTheMan827 opened 4 years ago

DanTheMan827 commented 4 years ago

you may also want to consider updating the mqtt package if you aren't specifically keeping it around to support old node.js versions

DanTheMan827 commented 4 years ago

using updateValue is more appropriate since that sends the update to the device and doesn't trigger the set callback