I have a Broadcom RM4 Pro.
This has a temp sensor. It also has been setup to turn on/off my aircon, which works fine as a button from home assistant.
I want an automation
- If hotter than 24
- Between 9am - 6pm
- When someone home (only two of us)
The following has not triggered once, and no traces.
Have tested with lower temps, and no time window, but nothing.
I use the zone home status for some other automations that seem to work.
Do I need to include an AND in the logic or is something else not look right?
alias: Turn Aircon on when hot
description: ""
trigger: []
condition:
- type: is_temperature
condition: device
device_id: b136eba57133b1168aaae74c05430306
entity_id: sensor.rm4_pro_temperature
domain: sensor
above: 24
- condition: time
after: "09:00:00"
before: "18:00:00"
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
- condition: numeric_state
entity_id: zone.home
above: 0
action:
- service: script.turn_aircon_on
data: {}
mode: single