Hello, i am trying to create automation in which the air conditioner is turned on if the temp is below 20 degree and the time interval is between 20:30 and 07:00 o’clock. I have created a time helper with schedule time interval from 20:30 to 07:00 for everyday which is trigger and for conditions i have set to check if temp in the room is under 20 degree and if we are at home of Sofia zone. The actions are to send me notification and to run scene for the air-conditioner.
I want my automation to check if the temp drop down below 20 degree in the schedule time interval to turn on air conditioner and also if the temp is below 20 degree when the schedule starts (for this situation at 20:30) to turn on air conditioner again.
alias: Turn on Valeri's air conditioner when temp is below 20
description: ""
trigger:
- platform: state
entity_id:
- schedule.valeri_airconditioner
condition:
- condition: and
conditions:
- condition: numeric_state
entity_id: sensor.rm4_mini_temperature
below: 20
- condition: or
conditions:
- condition: numeric_state
entity_id: zone.home
above: 0
- condition: numeric_state
entity_id: zone.in_sofia
above: 0
action:
- service: scene.turn_on
target:
entity_id: scene.valeri_air_conditioner
metadata: {}
- device_id: 5a324c34182495672c52d180876f56b4
domain: mobile_app
type: notify
message: Valeri's air conditioner is turned on
mode: single