mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 23:14:25 +01:00
change requirements for auto update
This commit is contained in:
@@ -35,8 +35,8 @@ class Updater:
|
|||||||
def check_pre_req(self):
|
def check_pre_req(self):
|
||||||
# we need to know both versions to continue
|
# we need to know both versions to continue
|
||||||
if self.current_tasmota_driver_version is not None and self.current_display_firmware_version is not None:
|
if self.current_tasmota_driver_version is not None and self.current_display_firmware_version is not None:
|
||||||
# tasmota driver has to be at least version 2 for Update command and panel has to be at version 5 for notify commands
|
# tasmota driver has to be at least version 2 for Update command and panel has to be at version 11 for notify commands
|
||||||
if self.current_tasmota_driver_version >= 2 and self.current_display_firmware_version >= 5:
|
if self.current_tasmota_driver_version >= 2 and self.current_display_firmware_version >= 11:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
def check_updates(self):
|
def check_updates(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user