I have a switchbot Hub 2 that has a humidity sensor on it. I would like the Lutron switch to turn on and off the switch based on the humidity level in the room. HA sees my Hub 2 device but I cannot see any functions and controls available to me to set up the automation. Any help would be appreciated, Thanks Gary
I have mine setup as so with a dehumidifier via a smart powerboard and the switch for the exhaust when its at a point where it knows I am in a shower:
alias: Bathroom Humidity Management
description: ""
triggers:
- type: humidity
device_id:
entity_id:
domain: sensor
trigger: device
above: 55
for:
hours: 0
minutes: 1
seconds: 0
id: Humidity Above 55
- type: humidity
device_id:
entity_id:
domain: sensor
trigger: device
above: 75
for:
hours: 0
minutes: 1
seconds: 0
id: Humidity Above 70
- type: humidity
device_id:
entity_id:
domain: sensor
trigger: device
for:
hours: 0
minutes: 1
seconds: 0
id: Humidity below 40
below: 40
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id:
- "Humidity: 40-60"
sequence: []
- conditions:
- condition: trigger
id:
- Humidity below 40
sequence:
- type: turn_off
device_id:
entity_id:
domain: light
- conditions:
- condition: trigger
id:
- Humidity Above 70
sequence:
- type: turn_on
device_id:
entity_id:
domain: light
mode: single
I then use the switch bounce on a timer blueprint to have it turn off the exhaust fan after 30min.
Forgot to mention that under the matter settings for the Hub2 make sure that the sensors are added as secondary devices.