Hi,
I finally decided to move to Home Assistant, and so far I am impressed by how great it is. My goal is to set up adaptive lighting that is less restrictive than Apple’s own adaptive lighting. Therefore, I installed Adaptive Lighting from basnijholt, and I was able to set up everything. Now, I am trying to assign the Adaptive Lighting to my Lutron Pico remotes. I created a simple automation that starts Adaptive Lighting by pressing on my Pico remote. However, as soon as I trigger a different scene or change the light setting, and then back to Adaptive Lighting, it’s not working anymore. (I have the “take over control” option activated).
On the documentation, it states “if this happens and the light is already on, the light that was changed gets marked as “manually controlled” and the Adaptive Lighting component will stop adapting that light until it turns off and on again (or if you use the service call adaptive_lighting.set_manual_control
)”
How do I set up the service call adaptive_lighting.set_manual_control
so I don’t have to switch off first my lights in order to get Adaptive Lighting working again?
Sorry, I am very new to Home Assistant (only 2 days old), so it might take some time until I understand how everything works.
If you read the documentation it has some examples - here’s one.
Reset the manual_control status of a light after an hour.
- alias: "Adaptive lighting: reset manual_control after 1 hour"
mode: parallel
trigger:
platform: event
event_type: adaptive_lighting.manual_control
variables:
light: "{{ trigger.event.data.entity_id }}"
switch: "{{ trigger.event.data.switch }}"
action:
- delay: "01:00:00"
- condition: template
value_template: "{{ light in state_attr(switch, 'manual_control') }}"
- service: adaptive_lighting.set_manual_control
data:
entity_id: "{{ switch }}"
lights: "{{ light }}"
manual_control: false
1 Like