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

What's wrong with this since latest update?

$
0
0

@mstudent100 wrote:

This is one of the automations that was working before last update :anguished:

- id: '1579308787838'
  alias: Laundry room lights
  description: ''
  trigger:
  - entity_id: binary_sensor.shenzhen_neo_electronics_co_ltd_battery_powered_pir_sensor_sensor_3
    platform: state
  action:
  - entity_id: switch.laundry_room_main_lights
  service_template: |-
  {% if trigger.to_state.state == 'on' %}
    switch.turn_on
  {% else %}
    switch.turn_off
  {% endif %}

Tried moving quotes etc around but still unsupported action…

Now I get from the logs :
Error loading /config/configuration.yaml: while scanning for the next token found character ‘%’ that cannot start any token in “/config/automations.yaml”, line 10, column 4

6:34 PM components/hassio/init.py (ERROR) - message first occurred at 6:01 PM and shows up 4 times

while scanning for the next token found character ‘%’ that cannot start any token in “/config/automations.yaml”, line 10, column 4

6:34 PM util/yaml/loader.py (ERROR) - message first occurred at 6:01 PM and shows up 4 times

Posts: 13

Participants: 4

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>