From 83d0cd0e2250eee4fa03075e998761e9cdc22040 Mon Sep 17 00:00:00 2001 From: zim514 Date: Sun, 9 Apr 2023 15:30:54 -0400 Subject: [PATCH] Fix daylight cache key name Fixes #242 --- script.service.hue/addon.xml | 15 +++++++++------ script.service.hue/resources/lib/lightgroup.py | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/script.service.hue/addon.xml b/script.service.hue/addon.xml index ff354bc8..f0e96922 100644 --- a/script.service.hue/addon.xml +++ b/script.service.hue/addon.xml @@ -1,4 +1,4 @@ - + @@ -21,14 +21,17 @@ https://github.com/zim514/script.service.hue https://forum.kodi.tv/showthread.php?tid=344886 - + 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 Automatitza les llums Hue amb la reproducció de Kodi Automatizace Hue světel s přehráváním Kodi diff --git a/script.service.hue/resources/lib/lightgroup.py b/script.service.hue/resources/lib/lightgroup.py index 72e81b63..31236a86 100644 --- a/script.service.hue/resources/lib/lightgroup.py +++ b/script.service.hue/resources/lib/lightgroup.py @@ -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")))