[astro] Add option to force event to occur (#14132)
* fix issue 11424 Signed-off-by: lsiepel <leosiepel@gmail.com>
This commit is contained in:
@@ -130,6 +130,12 @@ OR
|
||||
|
||||
sunset is 22:10 but `latest` is set to 20:00 so the event/datetime value is moved 20:00.
|
||||
|
||||
**Force event:** For each trigger channel and `start`, `end` datetime value, you can force the `earliest`, `latest` time of the day, when the event is actually not taking place (e.g. astronomic dawn during summer in Sweden)
|
||||
e.g `sun#astroDawn earliest=6:00, latest=20:00 forceEvent=true`
|
||||
|
||||
astronomic dawn start is null but `earliest` is set to 06:00 so the event/datetime value is set to 06:00.
|
||||
|
||||
|
||||
## Full Example
|
||||
|
||||
Things:
|
||||
|
||||
Reference in New Issue
Block a user