cloud.smarthq.service.bugs¶
Description¶
Service that reports the named bugs identified for a device by the bug policy.
Example Device Response (Digital Twin API)¶
Service reporting the named bugs identified for an appliance by the bug policy. An empty array means no known bugs.
{
"adapterId": "0000000000000000000000000000000000000000",
"alertTypes": [],
"createdDateTime": "2022-03-04T12:12:12.123Z",
"deviceId": "0000000000000000000000000000000000000000000000000000000000000000",
"deviceType": "cloud.smarthq.device.refrigerator",
"gatewayId": "0000000000000000000000000000000000000000000000000000000000000000",
"kind": "device#item",
"lastPresenceTime": "2022-03-04T12:12:12.123Z",
"lastSyncTime": "2022-03-04T12:12:12.123Z",
"presence": "OFFLINE",
"removable": true,
"services": [
{
"serviceType": "cloud.smarthq.service.bugs",
"lastSyncTime": "2022-03-04T12:12:12.123Z",
"domainType": "cloud.smarthq.domain.bugs",
"supportedCommands": [],
"state": {
"bugs": [
"ALEXA_REQUIRES_WIFI_UPDATE"
]
},
"serviceId": "0000000000000000000000000000000000000000000000000000000000000000",
"serviceDeviceType": "cloud.smarthq.device.appliance",
"config": {},
"lastStateTime": "2022-03-04T12:12:12.123Z"
}
],
"userId": "000000000000000"
}
State¶
The following are properties for the device state report as part of the "state" object for each individual service.
| Field Name | Property Type | Required |
|---|---|---|
| bugs | STRING_ARRAY | Yes |
Data Types¶
STRING_ARRAY¶
Value must be an array of strings.