Hi, i wanna heat bedroom in the night. If sesor detect 19ºC start heating, if bedroom reach 21º it stop. This automation applyes only from 22h to 06am. I have make to automations. Does it have sense? trigguer is correct? Thanks
- id: heat_night_bedroom_start
alias: Heat Night Bedroom
trigger:
platform: time_pattern
minutes: '/1'
condition:
condition: and
conditions:
- condition: time
after: '22:00:00'
before: '06:00:00'
- condition: numeric_state
entity_id: sensor.bedroom_temperature
below: 19
action:
service: notify.telegram
data:
message: Bedroom at 19, heat started
service: climate.set_temperature
entity_id: climate.termostato_casa
data:
temperature: 21
- id: heat_night_bedroom_stop
alias: Stop Heating Bedroom at Night
trigger:
platform: time_pattern
minutes: '/1'
condition:
condition: and
conditions:
- condition: time
after: '22:00:00'
before: '06:00:00'
- condition: numeric_state
entity_id: sensor.bedroom_temperature
above: 21
action:
service: notify.telegram
data:
message: Bedroom at 21, heat stoped
service: climate.set_temperature
entity_id: climate.termostato_casa
data:
temperature: 19