Skip to content

Commit

Permalink
Fix ambigroup missing attribute crash
Browse files Browse the repository at this point in the history
  • Loading branch information
zim514 committed Feb 12, 2023
1 parent f2c1fad commit c53a197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion script.service.hue/addon.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<addon id="script.service.hue" name="Hue Service" provider-name="zim514" version="1.4.6">
<addon id="script.service.hue" name="Hue Service" provider-name="zim514" version="1.4.7">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.requests" version="2.27.1"/>
Expand Down
1 change: 1 addition & 0 deletions script.service.hue/resources/lib/ambigroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit c53a197

Please sign in to comment.