Good Day Community,
I am trying to understand more and more how HA actually works to also adapt the examples of the forum to the new way HA works since 0.115.
I am playing around a bit and need some help.
Using the input_datetime.set_datetime Service how can I set a variable to the current time?
I tried something like (in Developer Tools)
Service: input_datetime.set_datetime
Entity: entity_id: input_datetime.alarm_clock
Service Data (YAML, optional):
entity_id: input_datetime.alarm_clock
time: {{states.sensor.time.state}}
Using something like
time: ‘00:00:00’
works
time: {{states.sensor.time.state}}