Exposing a temperature sensor to the Google Assistant?

Hey.

How can I make the Google Assistant read out the temperature for me?
Example:
Ok, Google. Whats the living room temperature?
“The current temperature is 23C.”

You can create generic_thermostat as use that sensor as targer_sensor, it also needs to have some heater, you can use some input_boolean for that as switch.