mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 03:15:14 -06:00
make an interface for State object
This commit is contained in:
@@ -25,7 +25,7 @@ type EventListener struct {
|
||||
disabledEntities []internal.EnabledDisabledInfo
|
||||
}
|
||||
|
||||
type EventListenerCallback func(*Service, *State, EventData)
|
||||
type EventListenerCallback func(*Service, State, EventData)
|
||||
|
||||
type EventData struct {
|
||||
Type string
|
||||
|
||||
Reference in New Issue
Block a user