This commit is contained in:
Johannes
2022-03-30 12:36:45 +02:00
parent 184662d43e
commit 754648fc0d

View File

@@ -56,7 +56,7 @@ class Updater:
return True
return False
# check if model has changed
if self.current_display_model is not None and current_display_model != self.desired_display_firmware_model:
if self.current_display_model is not None and self.current_display_model != self.desired_display_firmware_model:
LOGGER.info("Mismatch between Display Firmware and configured model")
update_msg = "The configured display firmware model has changed, do you wanto to start the update now? If the update fails check the installation manual and flash your version again over the Tasmota console. Be patient, the update will take a while."
self.send_message_page("updateDisplayNoYes", "Display Update available!", update_msg, "Dismiss", "Yes")