So my son’s room is upstairs and gets really hot, but the ecobee is downstairs and it triggers when to go on and off based on it’s temperature at the device. I bought Aqara sensors for all 3 bedrooms upstairs, and I want the ecobee for the entire house (I know… I need a second zone) to go on and off based on his room’s temp.
Unfortunately the only automation I’ve successfully done is a motion sensor in the garage that turns on the garage lights… My sensor (which now looking at it could probably be renamed…) in play is
sensor.lumi_lumi_weather_64237c06_temperature
Hello, I suggest you do the following first-
- Change Aqara temperature
entity name
to something more familiar to you- such as sensor.temperature_bedroom_1
, sensor.temperature_bedroom_2
, and sensor.temperature_bedroom_3
- Get to know/change the climate’s
entity name
for each room- such as climate.bedroom_1
, climate.bedroom_2
, and climate.bedroom_3
Then, for your automation, you can use numeric_state as the trigger.
An example of the YAML code is as follows-
alias: Climate Control Bedroom 1
description: ''
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.temperature_bedroom_1
above: '25'
id: 'On'
- platform: numeric_state
entity_id: sensor.temperature_bedroom_1
id: 'Off'
below: '18'
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: 'On'
sequence:
- service: climate.set_hvac_mode
target:
entity_id: climate.bedroom_1
data:
hvac_mode: cool
- conditions:
- condition: trigger
id: 'Off'
sequence:
- service: climate.turn_off
target:
entity_id: climate.bedroom_1
default: []
OR - Automation to anticipate server crashes/reboot made by Taras, written here
alias: Climate Control Bedroom 1
description: ''
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.temperature_bedroom_1
above: 25
- platform: numeric_state
entity_id: sensor.temperature_bedroom_1
below: 18
- platform: homeassistant
event: start
condition: []
action:
- variables:
t: "{{ states('sensor.temperature_bedroom_1') | float }}"
- choose:
- conditions:
- "{{ t >= 25 }}"
- "{{ is_state('climate.bedroom_1', 'off') }}"
sequence:
- service: climate.set_hvac_mode
target:
entity_id: climate.bedroom_1
data:
hvac_mode: cool
- conditions:
- "{{ t <= 18 }}"
- "{{ is_state('climate.bedroom_1', 'on') }}"
sequence:
- service: climate.turn_off
target:
entity_id: climate.bedroom_1
default: []
@stringztoo Did you ever get this working? I’m trying to do the exact same thing.