Hi,
I am running a dimmable light in our sleeping room - and trying to implement some turn on and turn off scripts that should be triggered on certain occasions.
the Script should use transition to fade the lights on - and off…
It should fade on when the alarm clock goes - and the “ON” Transition seems to work just as expected…
But the light should also fade off - and it seems, that this does - for what ever reason - does not work…
every time, when I trigger the script, the light will be just shut off immediately, without any visible transition…
Here’s my script:
alias: Light_turn_off
sequence:
- service: light.turn_off
data:
transition: 200
target:
entity_id: light.switch_light_sleepingroom
mode: single
icon: mdi:ceiling-light-outline
The dimmable switch is a HomeMatic Dimmable switch - it does support transition, as I can see when the light will be turned on…
I just don’t understand why it is not working the opposite way
Any Idea?