From 9dbb7289e9b2f2a585bf99e40c884bb76eba8bb4 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Wed, 30 Mar 2022 12:49:06 +0200 Subject: [PATCH] add model info to log --- 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 aa32465d..bd4fe08b 100644 --- a/apps/nspanel-lovelace-ui/luibackend/updater.py +++ b/apps/nspanel-lovelace-ui/luibackend/updater.py @@ -57,7 +57,7 @@ class Updater: return False # check if model has changed 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") + LOGGER.info(f"Mismatch between Display Firmware ({self.current_display_model}) and configured model ({self.desired_display_firmware_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") return True