google-homegoogle-smart-home

How to Dynamically Change the Label of a Virtual Thermostat in Google Home Playground?


I'm currently working with a virtual thermostat device in the Google Home Playground(https://developers.google.com/assistant/smarthome/develop/playground). My goal is to dynamically change the display label of the thermostat (currently set to 'Indoor') based on certain conditions or settings.

enter image description here

Context:

Questions:

  1. Is it possible to dynamically change the label of a virtual thermostat in the Google Home Playground? If so, how can this be achieved?

What I have tried: I've explored the standard device types and traits in the Google Smart Home documentation but found no clear method for implementing dynamic label changes in the Playground environment.

Specific Concerns:

I appreciate any guidance or references that can point me in the right direction. Thank you!


Solution

  • The 'indoor' label is hardcoded value and cannot be dynamically changed based on specific settings or states whether on a virtual or physical Nest Thermostat. It refers to the indoor temperature settings.