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:
Bas Nijholt 2023-07-30 12:32:59 -07:00 committed by GitHub
commit 2e25af3125
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.