homebridge-mqtt-switch-tasmota icon indicating copy to clipboard operation
homebridge-mqtt-switch-tasmota copied to clipboard

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

Open DanTheMan827 opened this issue 5 years ago • 2 comments

DanTheMan827 avatar Nov 22 '19 06:11 DanTheMan827

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 avatar Nov 22 '19 06:11 DanTheMan827

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

DanTheMan827 avatar Nov 22 '19 20:11 DanTheMan827