diff --git a/script.service.hue/addon.xml b/script.service.hue/addon.xml index 7e1c7fb5..6f45c6b2 100644 --- a/script.service.hue/addon.xml +++ b/script.service.hue/addon.xml @@ -1,4 +1,4 @@ - + diff --git a/script.service.hue/resources/lib/ambigroup.py b/script.service.hue/resources/lib/ambigroup.py index 02320f09..28059ad3 100644 --- a/script.service.hue/resources/lib/ambigroup.py +++ b/script.service.hue/resources/lib/ambigroup.py @@ -28,6 +28,7 @@ def __init__(self, light_group_id, hue_connection, media_type=lightgroup.VIDEO, self.light_group_id = light_group_id self.enabled = ADDON.getSettingBool(f"group{self.light_group_id}_enabled") self.monitor = hue_connection.monitor + self.state = initial_state self.bridge_error500 = 0 self.saved_light_states = {}