Hello,
I have 2 simple automations that doesn’t work.
I try to activate/deactivate a power plug depending on the humidity sensor.
If I trigger the automation manually the power plug is activated/deactivated but doesn’t activate depending on the sensor.
YAML code is :
alias: Activeaza Dezumidificator
description: ""
trigger:
- type: humidity
platform: device
device_id: c8948ddb98abdf74540af3cd20dc930c
entity_id: 15ddd5d0f41bd5cf719cff2502fc75c8
domain: sensor
above: 68
below: 100
condition:
- condition: time
after: "11:00:00"
before: "21:00:00"
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
action:
- type: turn_on
device_id: c3a5378b6eb1cfbbda8147050b4aca6c
entity_id: 3c22eee151cfd13d4dfce612426c4488
domain: switch
mode: single
and
alias: Dezactiveaza dezumidificator
description: ""
trigger:
- type: humidity
platform: device
device_id: c8948ddb98abdf74540af3cd20dc930c
entity_id: 15ddd5d0f41bd5cf719cff2502fc75c8
domain: sensor
below: 63
above: 1
condition: []
action:
- type: turn_off
device_id: c3a5378b6eb1cfbbda8147050b4aca6c
entity_id: 3c22eee151cfd13d4dfce612426c4488
domain: switch
mode: single
I’ve searched and read other same problems, but no sollution worked for me.
I have the latest HA.