Hi there,
first: I’m quite new to homeassistant and I’m struggling with this problem:
I installed 2 hue bulbs and an zigbee switch. They are already paired via zigbee2mqtt and appear in HA. Also I created a group for the 2 hue lights.
What I like to do is:
- Turn on the physical wall-switch
- the ralais (zigbee switch) will power-up the hue lamps (this happens)
- The hue lamps ramp up the light to a predefined value (this happens not)
and the other way:
- Turn off the physical wall-switch
- The hue lamps ramp down the light to zero (this happens not)
- the ralais (zigbee switch) will power-down the hue lamps (this happens)
So I think I need a delay before turning off the power. But I don’t get that far. The lights won’t even ramp up.
What happens is: the lights turn on and off immediately, when I push the button and don’t ramp up/down
This is what I tried:
alias: Esstisch Licht smooth On/OFF
description: ''
trigger:
- platform: state
entity_id:
- switch.esstisch_schalter_l2
attribute: state_l2
to: 'on'
condition: []
action:
- condition: device
type: is_off
device_id: 61389235e21b74e19adaea206c0a5caf
entity_id: light.esstisch_licht_grp2
domain: light
- type: turn_on
device_id: 61389235e21b74e19adaea206c0a5caf
entity_id: light.esstisch_licht_grp2
domain: light
mode: single
Does anybody have some hints?
Would be great!
Tom