I’d like to turn on my dehumidifier if the sensor detects humidity over 65% with different time conditions.
I set everything up. But when I try the automation, the device gets started everytime I run the automation manually, even the conditions are false. I tried with OR.
This config handles the working days:
id: '1655642734967'
alias: Keller entfeuchten Woche ein
description: ''
trigger:
- type: humidity
platform: device
device_id: f98636b2b6a926874c0ed36923761c04
entity_id: sensor.keller_h_t_humidity
domain: sensor
above: 65
for:
hours: 0
minutes: 15
seconds: 0
condition:
- condition: time
after: '21:00:00'
before: '06:00:00'
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- type: turn_on
device_id: 6b86059efb64549c17bdfa136a6416de
entity_id: light.keller
domain: light
mode: single
and this config handles weekends:
id: '1655666511491'
alias: Keller entfeuchten WE ein
description: ''
trigger:
- type: humidity
platform: device
device_id: f98636b2b6a926874c0ed36923761c04
entity_id: sensor.keller_h_t_humidity
domain: sensor
above: 65
condition:
- condition: or
conditions:
- condition: time
after: '12:00:00'
before: '23:59:00'
weekday:
- sat
- condition: time
after: '00:01:00'
before: '23:59:00'
weekday:
- sun
- condition: time
after: '00:01:00'
before: '06:00:00'
weekday:
- mon
action:
- type: turn_on
device_id: 6b86059efb64549c17bdfa136a6416de
entity_id: light.keller
domain: light
mode: single
Could anyone please check my config?