Only query dynamic light effect once a day

This commit is contained in:
sdb9696 2024-07-13 10:13:31 +01:00
parent 448efd7e4c
commit 85f074224b

View File

@ -17,7 +17,7 @@ class LightEffect(SmartModule, SmartLightEffect):
REQUIRED_COMPONENT = "light_effect"
QUERY_GETTER_NAME = "get_dynamic_light_effect_rules"
MINIMUM_UPDATE_INTERVAL_SECS = 60
MINIMUM_UPDATE_INTERVAL_SECS = 60 * 60 * 24
AVAILABLE_BULB_EFFECTS = {
"L1": "Party",
"L2": "Relax",