Hi
I want to make a switch turn on on a specific date that I can change on the dash board, and when it isnt the correct date I want it to turn off. It seems rather simple but cant get it to work. Recently tried wit a on and off input entity but it doesnt seem to react either way…
- id: '1695455846986'
alias: Køleskab tænd tidsstyret
description: ''
trigger:
- platform: time
at: input_datetime.koleskab
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.gildesal_29579358
mode: single
- id: '1695456213301'
alias: Køleskab sluk tidsstyret
description: ''
trigger:
- platform: time
at: input_datetime.koleskab_sluk
condition: []
action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.gildesal_29579358
mode: single