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

Script to call scene doesn't work

$
0
0

@Bollux wrote:

Hi all,

I’m trying to create a script to call a specific scene. I call the script from my floorplan. When i add the script and reboot hassio, i get and error that default.config could not setup dependancies.

'movie_scene_toggle': 
  sequence:
  - service: scene.turn_on
    data_template:
      entity_id: >
        {% if states.light.0xec1bbdfffea31ba3_light.attributes.brightness == 20 %}
          scene.livingroom_normal
        {% else %}
          scene.livingroom_dim
        {% endif %}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



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