hey all,
trying to figure out how to monitor via trigger or condition against the “climate” service; specifically from ecobee
refs:
- https://www.home-assistant.io/integrations/ecobee/
- https://www.home-assistant.io/integrations/climate/
one example is:
- TRIGGER: if sensor.master_bedroom_temperature >22 for 20mins
- CONDITION: if HVAC is off (heat=off, ac=off)
- ACTION: turn on the fan
YAMLS:
TRIGGER
above: '22'
entity_id: sensor.master_bedroom_temperature
for: '00:20:00'
platform: numeric_state
CONDITION
condition: state
entity_id: climate.redbrick
state: 'hvac_mode: off'
ACTION
data:
fan_mode: 'on'
entity_id: climate.redbrick
service: climate.set_fan_mode
This isn’t working however. I suspect my “state” hvac_mode: off
isn’t working (though it is valid syntax).
Per the climate documentation, it is a “service” … so I’m wondering if this excludes it from being able to be leveraged in TRIGGERS or CONDITIONS?
Any insight appreciated.
x post from https://www.reddit.com/r/homeassistant/comments/gp4kyd/automation_condition_off_ecobee_climate/
if I look at Automation for Climate Thermostat … maybe I need to look into the difference between “states” and “attributes” of a device?