Update nspanel-lovelace-ui.py

This commit is contained in:
joBr99
2023-01-31 21:47:02 +01:00
committed by GitHub
parent 5e2cc40b13
commit 937a7108c9

View File

@@ -34,7 +34,7 @@ class NsPanelLovelaceUIManager(hass.Hass):
if model == "us-l":
desired_display_firmware_url = cfg.get("displayURL-US-L", f"http://nspanel.pky.eu/lovelace-ui/github/nspanel-us-l-{version}.tft")
elif model == "us-p":
desired_display_firmware_url = cfg.get("displayURL-US-L", f"http://nspanel.pky.eu/lovelace-ui/github/nspanel-us-p-{version}.tft")
desired_display_firmware_url = cfg.get("displayURL-US-P", f"http://nspanel.pky.eu/lovelace-ui/github/nspanel-us-p-{version}.tft")
else:
desired_display_firmware_url = cfg.get("displayURL-EU", f"http://nspanel.pky.eu/lovelace-ui/github/nspanel-{version}.tft")
desired_tasmota_driver_url = cfg.get("berryURL", "https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be")