@truxntrax wrote:
I am using the automation editor integration for writing my automatons. All is going well so far. However, I have now hit a blocker.
I am seeking to trigger an automation, wait 5 minutes before testing the conditions, and then initiate the action based on the conditions being met.
Where do I add the delay/ wait?
Here is the yaml the automation editor has created for me so far:
alias: Heating Night Mode description: '' trigger: - entity_id: binary_sensor.alarm_set_status_2 from: 'off' platform: state to: 'on' condition: - condition: state entity_id: person.john state: home - condition: or conditions: - condition: state entity_id: person.cath state: home - condition: or conditions: - condition: state entity_id: person.elizabeth state: home action: - data: hvac_mode: auto temperature: 16 entity_id: climate.wiser_central_heating_zone service: climate.set_temperature - data: hvac_mode: auto temperature: 16 entity_id: climate.wiser_lounge service: climate.set_temperature
I’ve searched the cookbooks and examples but can’t find anything that seems similar - specifically the delay before testing the location condition.
Thanks
John
Posts: 11
Participants: 4