我的自动化应该是正常的,不是经常触发,我们这湿度基本很少低于70。。。。。。
- alias: auto_humidification_on
initial_state: true
trigger:
- platform: numeric_state
entity_id: sensor.humidity_158d0001572546
below: 55
condition:
condition: and
conditions:
- condition: state
entity_id: switch.humidifier_slot
state: 'off'
- condition: state
entity_id: binary_sensor.door_window_sensor_158d000120dc16
state: 'off'
- condition: state
entity_id: binary_sensor.door_window_sensor_158d00023316af
state: 'off'
action:
- service: switch.turn_on
entity_id: switch.humidifier_slot
|