I am trying to add Water Leak Sensor as SENSOR device to Google Smart Home. I have been using the following guide from Google to develop my app server:
In response to Google's action.devices.SYNC
request I am providing the following response:
`{
"requestId": "6894439706274654512",
"payload": {
"agentUserId": "2225babc-0569-4a34-8b33-e52decacb832",
"devices": [
{ "id": "11385100264604812424-~-sensor_rf-~--~-",
"type": "action.devices.types.SENSOR",
"traits": [
"action.devices.traits.SensorState"
],
"roomHint": "Кухня",
"name": {
"name": "UJIN Aqua-sense"
},
"willReportState": true,
"notificationSupportedByAgent": true,
"attributes": {
"sensorStatesSupported": [
{
"name": "WaterLeak",
"descriptiveCapabilities": {
"availableStates": [
"leak",
"no leak"
]
}
}
]
}
]
}
}`
However, when I view this device in the Google Home App it only presents Device Settings. I have already checked SYNC json in Validator and no errors were detected.