mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 01:15:10 -06:00
began refactor, added interface to set up for unit testing
This commit is contained in:
@@ -10,6 +10,12 @@ import (
|
||||
"github.com/golang-module/carbon"
|
||||
)
|
||||
|
||||
type EnabledDisabledInfo struct {
|
||||
Entity string
|
||||
State string
|
||||
RunOnError bool
|
||||
}
|
||||
|
||||
var id int64 = 0
|
||||
|
||||
func GetId() int64 {
|
||||
|
||||
Reference in New Issue
Block a user