mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-26 16:46:23 +00:00
Only query dynamic light effect once a day
This commit is contained in:
parent
448efd7e4c
commit
85f074224b
@ -17,7 +17,7 @@ class LightEffect(SmartModule, SmartLightEffect):
|
|||||||
|
|
||||||
REQUIRED_COMPONENT = "light_effect"
|
REQUIRED_COMPONENT = "light_effect"
|
||||||
QUERY_GETTER_NAME = "get_dynamic_light_effect_rules"
|
QUERY_GETTER_NAME = "get_dynamic_light_effect_rules"
|
||||||
MINIMUM_UPDATE_INTERVAL_SECS = 60
|
MINIMUM_UPDATE_INTERVAL_SECS = 60 * 60 * 24
|
||||||
AVAILABLE_BULB_EFFECTS = {
|
AVAILABLE_BULB_EFFECTS = {
|
||||||
"L1": "Party",
|
"L1": "Party",
|
||||||
"L2": "Relax",
|
"L2": "Relax",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user