how do i link brightness and brightness_pct.
I have a dimmer that controls ceiling lights and a milight LED strip on our mirror that I would like sync the brightness.
i have tried the following without luck
service: light.turn_on
data:
brightness_pct: "{{ trigger.to_state.attributes.brightness }}"
target:
entity_id: light.spejl_milight