mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 23:44:25 +01:00
fix for #512
This commit is contained in:
@@ -403,6 +403,8 @@ class LuiPagesGen(object):
|
|||||||
dest_temp2 = get_attr_safe(entity, "target_temp_low", None)
|
dest_temp2 = get_attr_safe(entity, "target_temp_low", None)
|
||||||
if dest_temp2 != None and dest_temp2 != "null":
|
if dest_temp2 != None and dest_temp2 != "null":
|
||||||
dest_temp2 = int(dest_temp2*10)
|
dest_temp2 = int(dest_temp2*10)
|
||||||
|
else:
|
||||||
|
dest_temp2 = ""
|
||||||
dest_temp = int(dest_temp*10)
|
dest_temp = int(dest_temp*10)
|
||||||
|
|
||||||
hvac_action = get_attr_safe(entity, "hvac_action", "")
|
hvac_action = get_attr_safe(entity, "hvac_action", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user