Finished major refactor
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-11-19 03:50:12 +01:00
parent 01b2d492ba
commit c091ad0782
17 changed files with 512 additions and 599 deletions

View File

@@ -1,6 +1,7 @@
package google
import (
"automation/device"
"encoding/json"
"io"
"log"
@@ -10,10 +11,11 @@ import (
)
type DeviceInterface interface {
device.Basic
Sync() *Device
Query() DeviceState
Execute(execution Execution, updatedState *DeviceState) (errCode string, online bool)
GetID() string
}
// https://developers.google.com/assistant/smarthome/reference/intent/sync