mirror of
https://github.com/Xevion/go-ha.git
synced 2026-01-31 06:24:27 -06:00
add state as second arg for eventListenerCallback
This commit is contained in:
+2
-1
@@ -26,7 +26,8 @@ type EntityListener struct {
|
||||
exceptionRanges []timeRange
|
||||
}
|
||||
|
||||
// TODO: add state object as second arg
|
||||
// TODO: add RunOnStartup() to etl, evl, schedule
|
||||
|
||||
type EntityListenerCallback func(*Service, *State, EntityData)
|
||||
|
||||
type EntityData struct {
|
||||
|
||||
Reference in New Issue
Block a user