make an interface for State object

This commit is contained in:
Sam Lewis
2023-10-22 18:16:20 -04:00
parent 824d6c12d1
commit 1932f1edf7
8 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -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