Enabling "Sleep Mode" unexpectedly fires a manual_control event.
kind/bugkind/featureneed/triage
Enabling Adaptive Lighting's Sleep Mode fires an `adaptive_lighting.manual_control` event, causing automations that rely on that event as a trigger to function unreliably.
Enabling a function of AL should not be treated the same as the user manually changing colors/temperatures.
For example:
I have an automation that disables AL entirely upon a `manual_control` event, then fires `set_manual_control` when AL is enabled (this allows a reset without turning all lights off then back on). Turning on Sleep Mode triggers the former automation, disabling AL. This is not expected behavior.
To test, create the following automation in HA, then enable Sleep Mode:
```
alias: Disable Adaptive Lighting on manual_control
description: ""
triggers:
- trigger: event
event_type: adaptive_lighting.manual_control
conditions: []
actions:
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 500
- action: switch.turn_off
metadata: {}
target:
entity_id: switch.<your_adaptive_lighting_switch>
data: {}
mode: single
```
This issue should not require any additional configs or dumps, it is easily reproducible.
0 条评论