@Jaques-Ludwig wrote:
Hi,
I want to dim two different lamps with one dimmer at the same time. The second lamp should get the brightness of the first lamp. The solution to dim both lamps with the new option “brightness_increase” or “brightness_decrease” at the same time is no option because sometimes they get different values.
My automation is this:
- id: '1583585245822' alias: EG Flur HmIP-BSM_Dimmen_Dunkel description: '' trigger: - event_data: channel: 1 name: 00085A4990178F param: PRESS_LONG event_type: homematic.keypress platform: event condition: [] action: - device_id: dc0b66f453714c4f9335ba568c1624f9 domain: light entity_id: light.eg_flur_1 type: brightness_decrease - service: light.turn_on entity_id: light.eg_flur_2 data_template: brightness: {{ state_attr('light.eg_flur_1 }}
The last “data_template” I think is not correct. Can someone tell me, what is the correct code?
Thanks a lot,
Jaques-Ludwig
Posts: 2
Participants: 2