thingsboard-python-client-sdk icon indicating copy to clipboard operation
thingsboard-python-client-sdk copied to clipboard

get_firmware_update in tb_device_mqtt.py broken after v1.10.7

Open xFeanor1983x opened this issue 1 year ago • 0 comments

the get_firmware_update in tb_device_mqtt.py no longer works after v1.10.7:

__updating_thread was removed after v1.10.7

AttributeError: 'TBDeviceMqttClient' object has no attribute '_TBDeviceMqttClient__updating_thread'.

def get_firmware_update(self):
        self._client.subscribe("v2/fw/response/+")
        self.send_telemetry(self.current_firmware_info)
        self.__request_firmware_info()

        self.__updating_thread.start()

xFeanor1983x avatar Jan 09 '25 15:01 xFeanor1983x