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

Invalid config for [automation]

$
0
0

@DenisSh wrote:

Please help me with:
Invalid config for [automation]: [entity] is an invalid option for [automation]. Check: automation->trigger->0->entity. (See /config/configuration.yaml, line 165).
my automations.yaml

    - alias: 'Home automation'
      trigger:
        platform: state
        entity: sensor.kitchen_wall_button
        from: 'off'
        to: 'on'
      condition:
        condition: state
        entity_id: switch.sw_one
        state: 'off'
      action:
        - service: switch.turn_on
          entity_id: switch.sw_one
          data:
            message: 'Тик Так 10 сек'
        - delay:
            seconds: 10
        - service: switch.turn_off
          entity_id: switch.sw_one
          data:
            message: 'Выключаю'

the entity in the trigger block (from configuration.yaml):

        kitchen_wall_button:
            value_template: "{{states.sensor.esp.attributes.push_btn}}"
            friendly_name: 'DSH wall button'

work well - I can see it state in Lovelace

Posts: 9

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 102651

Trending Articles



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