mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-05 23:15:07 -06:00
add Exceptions to eventListener
This commit is contained in:
5
app.go
5
app.go
@@ -35,6 +35,11 @@ See https://pkg.go.dev/time#ParseDuration for all valid time units.
|
||||
*/
|
||||
type DurationString string
|
||||
|
||||
type timeRange struct {
|
||||
start time.Time
|
||||
end time.Time
|
||||
}
|
||||
|
||||
/*
|
||||
NewApp establishes the websocket connection and returns an object
|
||||
you can use to register schedules and listeners.
|
||||
|
||||
Reference in New Issue
Block a user