I have a Sensor push device that measures temp and humidity. I have a Shelly switch to switch AC power to a receptical. The goal is when the humidity drops below 60%, turn on power to the receptical that a humidifier is plugged into. Pretty simple. A second automation would turn if off when the humidity exceeds 65%. When I run the automation as a test, I think that I hear the Shelly switch engage. However, when I test the output, the voltage is zero. In the Shelly device, under controls for the Shelly device switch 0 is enabled and seems to be ‘on’. Under sensors for the Shelly device Input 0 input is off and an icon seems to indicate no power, though the icon is ‘mdi:power_plug_off’. Here is my automation yaml:
alias: Greenhouse Humidifier on
description: Turn on the greenhouse humidifier
triggers:
- trigger: numeric_state
entity_id:
- sensor.ht1_d4a3_humidity
below: 60
conditions: []
actions:
- type: turn_on
device_id: 387742858ea4a5bd9e6c382ddff2b948
entity_id: 610303ee411fea8515bae12aff8f6674
domain: switch
mode: single
What have I done wrong? TIA