Hi All, I’ve done some “googling” on this and haven’t found a clear answer. My current config turns some lights out at “bedtime”, but the time is hard-coded in the automation:
alias: Set Kids Bedtime Flag trigger: - at: '19:30' platform: time condition:  action: service: input_boolean.turn_on entity_id: input_boolean.is_bedtime
The boolean change triggers the actual lights off and allows us to manually trigger the “bedtime” routine / scene also. BUT, I would like the “at” time to be an input_datetime also. I have tried a few options but no real success, I’ve seen “templates” used to access vars, but hear also they have a performance impact.
Is there an easy way to reference the “input_datetime.xxxx” value in the "at: " part of the condition.
Thanks in advance,