add model info to log

This commit is contained in:
joBr99
2022-03-30 12:49:06 +02:00
parent 41407b1703
commit 9dbb7289e9

View File

@@ -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