Added room hint to google assistant
This commit is contained in:
parent
7747a10959
commit
1dec30e2fa
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ public class SmartHomeImpl extends SmartHomeApp implements OAuth2TokenRegistrati
|
|||
.setName(device.getName())
|
||||
.build())
|
||||
.setWillReportState(true)
|
||||
//.setRoomHint(sensor.getRoom().getName())
|
||||
.setRoomHint((device.getRoom() != null ? device.getRoom().getName() : ""))
|
||||
.setDeviceInfo(
|
||||
DeviceProto.DeviceInfo.newBuilder()
|
||||
//.setManufacturer((String) device.get("manufacturer"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue