mirror of
https://github.com/Xevion/go-ha.git
synced 2026-01-31 02:24:26 -06:00
began refactor, added interface to set up for unit testing
This commit is contained in:
+2
-6
@@ -29,12 +29,8 @@ type EntityListener struct {
|
||||
runOnStartup bool
|
||||
runOnStartupCompleted bool
|
||||
|
||||
enabledEntity string
|
||||
enabledEntityState string
|
||||
enabledEntityRunOnError bool
|
||||
disabledEntity string
|
||||
disabledEntityState string
|
||||
disabledEntityRunOnError bool
|
||||
enabledEntities []internal.EnabledDisabledInfo
|
||||
disabledEntities []internal.EnabledDisabledInfo
|
||||
}
|
||||
|
||||
type EntityListenerCallback func(*Service, *State, EntityData)
|
||||
|
||||
Reference in New Issue
Block a user