My automation does not work

Hi, I am a complete newbie in HA and have created a very simple automation, which SHOULD switch on the heating if one of the temp sensors goes below certain temp. YAML source here:

alias: Chladno v domě 2
description: ""
triggers:
  - entity_id:
      - sensor.sonoff_snzb_02d_cidlo_teploty_teplota
      - sensor.sonoff_snzb_02d_cidlo_teploty_02_teplota
    below: 23
    trigger: numeric_state
conditions: []
actions:
  - target:
      device_id: af62e9c661f6edea9474999320c6fe91
    action: switch.turn_on
mode: single

… when I run the action manually from the context menu of the automation, then the switch goes on, but nothing happens if temperature sinks below the limit of 23 C. The automation switch is on in the list of automations. Any advice welcome :slightly_smiling_face: Thank you, Cheers

2 Likes

I suggest you set up a generic thermostat instead

2 Likes