mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-13 23:34:04 +02:00
Do not intercept effect and flash calls (#685)
* Do not intercept effect and flash calls * log * Do not intercept flash
This commit is contained in:
parent
2b35ee1e5e
commit
2e25af3125
1 changed files with 3 additions and 0 deletions
|
|
@ -2003,6 +2003,9 @@ class AdaptiveLightingManager:
|
|||
if is_our_context(call.context):
|
||||
return
|
||||
|
||||
if ATTR_EFFECT in data[CONF_PARAMS] or ATTR_FLASH in data[CONF_PARAMS]:
|
||||
return
|
||||
|
||||
entity_ids = self._get_entity_list(data)
|
||||
|
||||
# For simplicity, only service calls affecting a single entity are currently handled.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue