One of my first automation that was working fine, but now sporadically works. I can see the Ecobee humidity updating normally (Homekit controller connected). I am on the latest 2023.4 release.
alias: Master humidifier
description: ""
trigger:
- platform: device
device_id: f02f866a5365023fffbf8c3a1b8b6a3b
domain: climate
entity_id: climate.downstairs
type: current_humidity_changed
below: 45
condition:
- condition: or
conditions:
- type: is_humidity
condition: device
device_id: f02f866a5365023fffbf8c3a1b8b6a3b
entity_id: sensor.downstairs_current_humidity
domain: sensor
below: 40
- condition: and
conditions:
- type: is_temperature
condition: device
device_id: f02f866a5365023fffbf8c3a1b8b6a3b
entity_id: sensor.downstairs_current_temperature
domain: sensor
below: 72
- type: is_humidity
condition: device
device_id: f02f866a5365023fffbf8c3a1b8b6a3b
entity_id: sensor.downstairs_current_humidity
domain: sensor
below: 45
action:
- type: turn_on
device_id: d85dadb0c4f778dc3ae8932f6ab378f2
entity_id: switch.master_humidifier_switch_2
domain: switch
- choose:
- conditions:
- type: is_temperature
condition: device
device_id: f02f866a5365023fffbf8c3a1b8b6a3b
entity_id: sensor.downstairs_current_temperature
domain: sensor
above: 72
sequence:
- wait_for_trigger:
- type: humidity
platform: device
device_id: f02f866a5365023fffbf8c3a1b8b6a3b
entity_id: sensor.downstairs_current_humidity
domain: sensor
above: 40
for:
hours: 0
minutes: 5
seconds: 0
timeout:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
continue_on_timeout: true
- type: turn_off
device_id: d85dadb0c4f778dc3ae8932f6ab378f2
entity_id: switch.master_humidifier_switch_2
domain: switch
default:
- wait_for_trigger:
- type: humidity
platform: device
device_id: f02f866a5365023fffbf8c3a1b8b6a3b
entity_id: sensor.downstairs_current_humidity
domain: sensor
above: 45
for:
hours: 0
minutes: 5
seconds: 0
timeout:
hours: 0
minutes: 15
seconds: 0
milliseconds: 0
continue_on_timeout: true
- type: turn_off
device_id: d85dadb0c4f778dc3ae8932f6ab378f2
entity_id: switch.master_humidifier_switch_2
domain: switch
mode: restart