Added new device: computer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-15 03:16:08 +01:00
parent ad5b8f9d29
commit bfeedece77
6 changed files with 128 additions and 48 deletions

View File

@@ -10,6 +10,7 @@ type DeviceInterface interface {
Sync() *Device
Query() DeviceState
Execute(execution Execution, updatedState *DeviceState) (errCode string, online bool)
GetID() string
}
// https://developers.google.com/assistant/smarthome/reference/intent/sync

View File

@@ -4,5 +4,6 @@ type Type string
// https://developers.google.com/assistant/smarthome/guides
const (
TypeKettle = "action.devices.types.KETTLE"
TypeKettle = "action.devices.types.KETTLE"
TypeScene = "action.devices.types.SCENE"
)