I want an automation that
- Fires when one of several temperature sensors is below a value
- Time is between 08:00 and 16:00
- Someone is at home
As far as I can tell there is no way to check if anyone is home other than to say Bill is home or Ted is home… If there is that would make things a little easier I guess
I just wanted to check the AND / OR logic I have is correct.
Triggers are OR? so if I specify multiple trigger the automation will fire on any of them?
Conditions are AND? If I add two conditions the automation will only fire if both conditions are met?
The OR condition type only applies to that condition so that is still AND with other conditions
I have this setup, does this achieve the above logic?
alias: House Temp - Day - Heat description: '' trigger: - platform: numeric_state entity_id: sensor.temp6_temperature below: '19' - platform: numeric_state entity_id: sensor.kitchen_temperature below: '19' condition: - condition: time after: '08:00' before: '16:00' weekday: - mon - tue - wed - thu - fri - condition: or conditions: - condition: zone entity_id: person.bill zone: zone.home - condition: zone entity_id: person.ted zone: zone.home action: - service: climate.set_temperature target: device_id: xxx data: temperature: 22 mode: single