I’m trying to control a smart outlet based on humidity levels using an automation. If it drops below drops below 30%, turn on the switch. if it rises above 45% turn off the switch. I’m using two different automations.
alias: Atmosphere Control - Lincoln Room Humidifier above 45% turn off
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.lincoln_room_humidity
above: 45
below: 100
condition: []
action:
- service: scene.turn_on
target:
entity_id: scene.linchumidifieroff
metadata: {}
mode: single
and
alias: Atmosphere Control - Lincoln Room Humidifier below 30% turn on
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.lincoln_room_humidity
below: 30
above: 0
condition: []
action:
- service: scene.turn_on
target:
entity_id: scene.linchumidifieron
metadata: {}
mode: single
my problem is that it doesn’t seem to trigger. what am I doing wrong?