#Hello everyone I m new to Home Assistant
1 messages · Page 1 of 1 (latest)
That sounds like a https://www.home-assistant.io/docs/automation/trigger/#numeric-state-trigger
Ahh, so I don't have to limit myself to stuff under climate.nest? I can just use the raw sensor data?
Sure
If there's an entity with the data you want as a state or an attribute, you can use it
oh nice! i will give that a go. thank you 🙂
How do I find the correct values to populate the action field?
What action field?
You may find the device actions do what you want
If not check https://www.home-assistant.io/integrations/climate
So I've got the trigger of a temperature being above a certain value, now I need to tell the Nest to turn on the fan
Does this look sane?
alias: Poor Man's AC
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.nest_temperature
attribute: current_temperature
above: 22
condition: []
action:
- service: climate.set_fan_mode
target:
entity_id: climate.nest
data:
fan_mode: "on"
mode: single
When I hit Run, the fan comes on, but the temperature was already over 22 and it wasn't running. Does it need to go from below 22 to above 22 to trigger?
Maybe a better question is how do I test that this automation is working aside from waiting for the temperature to change?
See the pinned message in the #automations-archived channel about testing, but yes - it has to cross the threshold to run. Triggers have to go from false to true for them to start an automation.