Specify @time_trigger range with fixed time? #542
-
I've been searching and trying quite a lot, but cann't find the proper syntax. How should I exactly limit to a range between sunset and 01:00 at night? Searching for something like this:
But all I get is "Can't parse range(sunset, 01:00) in time_trigger check" |
Beta Was this translation helpful? Give feedback.
Answered by
craigbarratt
Nov 7, 2023
Replies: 1 comment
-
If you want to limit the time range over which the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ivomans
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to limit the time range over which the
@mqtt_trigger
is active, you should use@time_active()
. As you discovered,@time_trigger
doesn't take arange
argument.