diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 3dea7ce2..08ddaf51 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -400,7 +400,9 @@ class LuiPagesGen(object): dest_temp2 = "" if dest_temp is None: dest_temp = get_attr_safe(entity, "target_temp_high", 0) - dest_temp2 = int(get_attr_safe(entity, "target_temp_low", 0)*10) + dest_temp2 = get_attr_safe(entity, "target_temp_low", None) + if dest_temp2 != None and dest_temp2 != "null": + dest_temp2 = int(dest_temp2*10) dest_temp = int(dest_temp*10) hvac_action = get_attr_safe(entity, "hvac_action", "")