Input_datetime initial value with time only

BTW, I solved the trigger with this:

  trigger:
  - platform: template
value_template: '{{ states.sensor.time.state == (states.input_datetime.wakeup_dads_alarm.attributes.timestamp | int | timestamp_custom("%H:%M", False)) }}'

not the best, not the most elegant … but it works for now :slight_smile:

3 Likes