diff --git a/apps/nspanel-lovelace-ui/luibackend/updater.py b/apps/nspanel-lovelace-ui/luibackend/updater.py index 66d4da65..aa32465d 100644 --- a/apps/nspanel-lovelace-ui/luibackend/updater.py +++ b/apps/nspanel-lovelace-ui/luibackend/updater.py @@ -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")