homebridge-mqtt-switch-tasmota
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
you may also want to consider updating the mqtt package if you aren't specifically keeping it around to support old node.js versions
using updateValue is more appropriate since that sends the update to the device and doesn't trigger the set callback