Hey everyone! I’m really excited to share my latest project and see if I can get some help from the community. I’ve been trying to set up an automation where my smart plug turns on when the humidity in my bedroom drops below 50%. I’ve got a Dyson air purifier with a built-in humidity sensor, and I want to use it to control my smart plug automatically.
So far, I’ve set up the automation using Home Assistant, but it’s not triggering on its own even though the humidity is below 50%. When I test it manually, it works perfectly, so I know the connection is there. I’m wondering if there’s something I’m missing in the trigger setup. Here’s what my current automation looks like:
yaml
alias: Humidity Control
description: “”
trigger:
- platform: numeric_state
target: - sensor.bedroom_dyson_humidity
below: 50
condition:
action: - service: switch.turn_on
data: {}
target:
device_id: 0a1faa0c97de9aab893663ac090fdd2a
mode: single
I’d also love to add some extra parameters, like having it only run between 11:30 PM and 9:30 AM and turning off when the humidity goes back above 50%. But for now, I just want to get the basic trigger working properly.
I know the Dyson integration isn’t officially supported by Home Assistant, but I’m using the HACS integration, and I can see the humidity readings on my dashboard, so I know the sensor is working. Maybe there’s a setting or a tweak I haven’t discovered yet. If anyone has experience with similar setups or knows a workaround, I’d be so grateful for your advice!
Thanks in advance to everyone who takes the time to help out. Let’s make this automation a reality! ![]()