Hello, can you help me? I’m doing something wrong. I try to check the temperature (sensor ds18b20) every 10 minutes, and if the result is less than 20 degrees, it should send a telegram msg. Currently, it sends the message only once when you press the play button. How to make it so that the temperature is sent every 10 minutes in a telegram?
alias: temp_bath
description: ""
trigger: []
condition:
- condition: numeric_state
entity_id: sensor.bath_yellow
below: 20
action:
- service: telegram_bot.send_message
data:
message: "{{ states('sensor.bath_yellow') }}"
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
mode: restart