Skip to content

Commit

Permalink
Fix daylight cache key name
Browse files Browse the repository at this point in the history
Fixes #242
  • Loading branch information
zim514 committed Apr 9, 2023
1 parent b804af8 commit 83d0cd0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions 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.13">
<addon id="script.service.hue" name="Hue Service" provider-name="zim514" version="1.4.14">

<requires>
<import addon="xbmc.python" version="3.0.0"/>
Expand All @@ -21,14 +21,17 @@
</assets>
<source>https://github.com/zim514/script.service.hue</source>
<forum>https://forum.kodi.tv/showthread.php?tid=344886</forum>
<news>
<news>v1.4.14
- Fix daylight disable

v1.4.13
- Translations updates from Weblate

Remove dependency with SimpleCache
Fix service not disabling correctly
Fix reconnection
Improved Hue error handling
v1.4
- Remove dependency with SimpleCache
- Fix service not disabling correctly
- Fix reconnection
- Improved Hue error handling
</news>
<summary lang="ca_ES">Automatitza les llums Hue amb la reproducció de Kodi</summary>
<summary lang="cs_CZ">Automatizace Hue světel s přehráváním Kodi</summary>
Expand Down
2 changes: 1 addition & 1 deletion script.service.hue/resources/lib/lightgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def playback_type(self):
@staticmethod
def check_active_time():

daylight = cache_get("script.service.hue.daylight")
daylight = cache_get("daylight")
xbmc.log("[script.service.hue] Schedule: {}, daylightDisable: {}, daylight: {}, startTime: {}, endTime: {}".format(ADDON.getSettingBool("enableSchedule"), ADDON.getSettingBool("daylightDisable"), daylight,
ADDON.getSettingString("startTime"), ADDON.getSettingString("endTime")))

Expand Down

0 comments on commit 83d0cd0

Please sign in to comment.