From 754648fc0d9bd0e3ded18bace60995f930580762 Mon Sep 17 00:00:00 2001 From: Johannes Date: Wed, 30 Mar 2022 12:36:45 +0200 Subject: [PATCH] fix --- apps/nspanel-lovelace-ui/luibackend/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")