Hi everyone. I’m back. Hopefully it’s oké I post another question.
I have a automation that turns on the airco if the energy surplus is above 500 watt AND the temperature is above 23.0 degrees. This works fine.
Now I want to accomplish that the airco goes off:
- IF the energy surplus goes below 500 and the airco is ON.
- IF the temperature drops below 22 degrees and the airco is ON.
- IF the time is 16.57 (no matter what)
Is it possible to make this in one automation? Or must i accomplish this directly in yaml? Im using the gui now.
alias: AircoUIT21gradenOfKouder10-17uEnOverschot100
description: ""
triggers:
- type: temperature
device_id: efee112d20f4da0c45bee0f478b2ee15
entity_id: 2c1ae628891edf86ff3374e6bfd4cf22
domain: sensor
trigger: device
below: 22
- trigger: numeric_state
entity_id:
- sensor.overschot_nummeriek
below: 500
- trigger: time
at: "16:57:00"
conditions:
- condition: device
device_id: 8ba411c570759885313019ae3f825513
domain: climate
entity_id: bddc47c8ce64d782aef2da848516b60e
type: is_hvac_mode
hvac_mode: cool
- condition: time
after: "10:00:00"
before: "16:57:00"
actions:
- device_id: 8ba411c570759885313019ae3f825513
domain: climate
entity_id: bddc47c8ce64d782aef2da848516b60e
type: set_hvac_mode
hvac_mode: "off"
mode: single