openhab / openhab-google-assistant

openHAB Google Assistant: Actions on Google for openHAB
Eclipse Public License 2.0
176 stars 86 forks source link

Make sensors work on Nest Hub #442

Closed michikrug closed 1 year ago

michikrug commented 1 year ago

While making Sensors work in the Google Home app via #432 we somehow broke the UI in Google Nest Hub devices. (Shame on you Google, for implementing your stuff so shitty!)

This PR should bring back the temperature information back to Google Nest Hubs by re-adding the TemperatureControl trait and providing both ambient and setpoint values.


Will resolve #440

robnielsen commented 1 year ago

This is awesome, just wondering do you need to pass in setpoint as well as ambient?

michikrug commented 1 year ago

No. I am just using the one sensor value for both states. This makes the UI on the Hub a bit nicer.

michikrug commented 1 year ago

Short update: I am currently evaluating another request out of the OH forum regarding sensors.

Afterwards, I will merge and release this.