Hi to all,
I need a help with an automation.
I have a generic thermostat and this two automations:
- id: CALDAIA_ON_20200625121500
alias: TERMOSIFONI - Accensione
trigger:
- minutes: /1
platform: time_pattern
condition:
- after: '17:00:00'
before: '22:00:00'
condition: time
- condition: and
conditions:
- condition: state
entity_id: climate.caldaia
state: "off"
action:
- entity_id: climate.caldaia
service: climate.turn_on
- id: CALDAIA_OFF_20200625121600
alias: TERMOSIFONI - Spegnimento
trigger:
- minutes: /1
platform: time_pattern
condition:
- after: '23:00:00'
before: '17:00:00'
condition: time
- condition: and
conditions:
- condition: state
entity_id: climate.caldaia
state: heat
action:
- entity_id: climate.caldaia
service: climate.turn_off
Basically, my thermostat check the heater between 17 and 22, on other hours heater need to be off.
It seems works as expected.
Someday, I’m at home and I want to start the thermostat/heater out of the interval. For example, I want to have thermostat working at 13.00, so I would that thermostat goes on at 12.00 and when will be the 17.00 this “boost” (let’s call boost) is forgot.
Is it possible?
I thought on a virtual button called “start before” and another couple of automation… in pseudocode
if start_before is on than climate set on
and
if start_before is on and hour is 17.00, shut down start_before
Is there another way?
Thank you in advance and sorry for my english