Added new device: computer
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user