@makai wrote:
I want to turn on my cellar plug when humidity is above 65% and when outside humidity is bellow cellar humidity. To do that I did the following automation:
- alias: Turn on cellar plug when humidity is above 65% initial_state: 'on' trigger: - platform: numeric_state entity_id: sensor.humidity_cellar above: 65 condition: - condition: template value_template: >- {{ (states('sensor.humidity_outside')|float < states('sensor.humidity_cellar')|float) and (now().month >= 11 or now().month <= 3) }} action: - service: switch.turn_on entity_id: switch.plug
and it does not trigger… cellar humidity is at 75% and condition template is now true…
I though that each time cellar humidity is updated, it checked if it is above 65 but it seems that it is triggered only when cellar humidity is bellow 65 and goes above 65.
Am I true? Does that means that it will trigger again only when cellar humidity goes bellow 65?
Posts: 8
Participants: 4