Could anyone tell me why this automation doesn’t work?
alias: Schuur - Vochtigheid
description: ""
trigger:
- type: humidity
platform: device
device_id: 43ab46576aacb0743a15b5790c705f89
entity_id: 84b006868ea7cd539b82016e384721bb
domain: sensor
id: U57
above: 57
- type: humidity
platform: device
device_id: 43ab46576aacb0743a15b5790c705f89
entity_id: 84b006868ea7cd539b82016e384721bb
domain: sensor
id: B57
below: 57
for:
hours: 0
minutes: 30
seconds: 0
condition: []
action:
- if:
- condition: trigger
id:
- U57
then:
- type: toggle
device_id: ee631307bf6eb386910378dad949ac1c
entity_id: 189cd8ebe38a921a4a8c45faca9ec1b6
domain: switch
else:
- if:
- condition: trigger
id:
- B57
then:
- type: toggle
device_id: ee631307bf6eb386910378dad949ac1c
entity_id: 189cd8ebe38a921a4a8c45faca9ec1b6
domain: switch
mode: restart