time constraints on listener are working

This commit is contained in:
Sam Lewis
2022-10-16 23:03:19 -04:00
parent 145c12dd25
commit 7ed5cbcf94
2 changed files with 15 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ func main() {
simpleListener := ga.EntityListenerBuilder().
EntityIds("group.office_ceiling_lights").
Call(listenerCB).
// OnlyBetween("07:00", "14:00").
OnlyAfter("23:03").
Build()
app.RegisterEntityListener(simpleListener)