Now handles opening/ closing

This commit is contained in:
illuzn
2022-05-23 13:57:51 +09:30
committed by GitHub
parent b1ab9d3f32
commit 8b1e5a7c19

View File

@@ -167,6 +167,8 @@ class LuiPagesGen(object):
status = f"disable|enable|enable"
elif pos_status == "closed":
status = f"enable|enable|disable"
else:
status = f"enable|enable|enable"
else:
status = f"enable|enable|enable"
return f"~shutter~{entityId}~{icon_id}~17299~{name}~{icon_up}|{icon_stop}|{icon_down}|{status}"