Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 103050

Can't get transitions to work

$
0
0

I struggle to get this transition that I have set up in a script to work. I want to turn a light off slowly over an hour or two. Here is the config I am using:

turn_off_jamess_light:
  alias: Turn Off James's Light
  sequence:
  - service: light.turn_off
    data:
        transition: 3600
    target:
      device_id: e50bdb3cddd73ce893e4cc275c2752aa
  mode: single
  icon: mdi:lightbulb-auto-outline

However, when I run this script, the light turns off immediately. I have tried calling the light.turn_off service with that transition in the Dev tools. The dimming works fine at that point. I’m not sure what is different between the two and how to get it to work in the script properly. Here is the YAML that I use in Dev tools:

service: light.turn_off
data:
  transition: 3600
target:
  entity_id: light.jamess_fan

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 103050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>