mirror of
https://github.com/Xevion/go-ha.git
synced 2026-01-31 04:24:27 -06:00
make an interface for State object
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ type EntityListener struct {
|
||||
disabledEntities []internal.EnabledDisabledInfo
|
||||
}
|
||||
|
||||
type EntityListenerCallback func(*Service, *State, EntityData)
|
||||
type EntityListenerCallback func(*Service, State, EntityData)
|
||||
|
||||
type EntityData struct {
|
||||
TriggerEntityId string
|
||||
|
||||
Reference in New Issue
Block a user