Hello, i am using automatization, to start charging of my car from 2AM, i use button to do that, during day i click button and automatization should start switch at 2AM, but after some time this stopped working, i send code below, do you have any idea what is wrong how how can i upgrade it?
alias: Nio grid start ve 2
description: ""
triggers:
- trigger: state
entity_id:- input_button.nocni_proud_nio
conditions: []
actions:
- input_button.nocni_proud_nio
- wait_for_trigger:
- trigger: time
at: "02:00:00"
continue_on_timeout: false
- trigger: time
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.sonoff_
mode: single