I had following bit of automation:
- alias: Vijver lucht uit - triggering temperature
trigger:
- platform: time
minutes: 0
seconds: 05
condition:
- condition: state # Program is not active, and,
entity_id: input_boolean.pond_active
state: 'off'
- condition: template # temp
value_template: '{{ (states("sensor.weather_temperature") | int) > 1 }}'
action:
- entity_id: switch.ds1_q2_13
service: homeassistant.turn_off
and despite input_boolean.pond_active having the value ‘on’ it executed the action. After specifying the entity_id in quotes, it didnt trigger anymore. So I am confused because there are plenty of examples where entity_id is not quoted, but in conditions (https://www.home-assistant.io/docs/scripts/conditions/) they are quoted, so when is quoted required ? In this case they were apparently needed but I have also other cases, is it luck they work without quotes ?