Closed ccutrer closed 1 year ago
Yeah, the name kinda makes you think you could say "at 5pm" instead of giving it a datetimeitem.
datetime_trigger
doesn't flow quite well either, but it's pretty clear
Maybe we can support LocalTime | Time | Date | ZonedDateTime | MonthDay | try_parse_time_like(str)
at "7pm"
you can already do that with every :day, at: "7pm"
. the beauty of this trigger is the triggering time is dynamic, based on the state of some other item
you can already do that with
every :day, at: "7pm"
. the beauty of this trigger is the triggering time is dynamic, based on the state of some other item
Yes, I'm aware. Just thinking of making "at" more natural. When given a static time, we'd implement it with every/cron
I'm not 100% sold on the method name. And the simplicity of the method name is why I didn't create a terse form.