Allows for multiple SwitchBot bots and curtains to be controlled via MQTT sent to ESP32. ESP32 will send BLE commands to switchbots and return MQTT responses to the broker. Also supports Temperature, Motion, Contact sensors
last will is already there. It is just not in the standard configuration values. If you want to change the lastwill message, search the code for "lastwill". Cheers
Possible to add last will message to be able to monitor MQTT connectivity?