mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-24 00:14:26 +01:00
add model info to log
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user