I’m following step by step the official example on how to use input_datetime as triggers for automations, however I am facing some issues.
# Example configuration.yaml entry
# Turns on bedroom light at the time specified.
automation:
trigger:
platform: time
at: input_datetime.bedroom_alarm_clock_time
action:
service: light.turn_on
entity_id: light.bedroom
When I try to enter this trigger in my automation interface, I get the following error:
Message malformed: Invalid time specified: input_datetime.morning_sun @ data[‘trigger’][0][‘at’][0]
What is the correct way to create a trigger based on an input_datetime?
Thanks!