mirror of
https://github.com/Xevion/go-ha.git
synced 2026-01-31 08:24:26 -06:00
make an interface for State object
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ import (
|
||||
"saml.dev/gome-assistant/internal"
|
||||
)
|
||||
|
||||
type IntervalCallback func(*Service, *State)
|
||||
type IntervalCallback func(*Service, State)
|
||||
|
||||
type Interval struct {
|
||||
frequency time.Duration
|
||||
|
||||
Reference in New Issue
Block a user