alias: Reset Climate id: automation_reset_climate trigger: - platform: state entity_id: group.my_hvac_affecting_openings to: 'off' for: '00:00:03' condition: - condition: state entity_id: group.my_hvac_affecting_openings state: 'off' - condition: state entity_id: climate.thermostat state: 'off' action: - service: climate.turn_on target: entity_id: climate.thermostat - service: climate.set_preset_mode target: entity_id: climate.thermostat data: preset_mode: 'auto'