# Official Google Assistant Integration for openHAB

**URL:** <https://community.openhab.org/t/official-google-assistant-integration-for-openhab/40425>\
**Category:** Announcements\
**Tags:** myopenhab, openhabcloud1, googleassistant\
**Created:** [February 20, 2018, 11:30pm UTC](https://community.openhab.org/t/official-google-assistant-integration-for-openhab/40425 "2018-02-20T23:30:35Z")\
**Posts on this page:** 1\
**Showing post:** 879

<div class="post-metadata">

**Author:** ![jjmeseguer](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/49beb7/32.png) [@jjmeseguer](https://community.openhab.org/u/jjmeseguer)\
**Post date:** [May 17, 2019, 9:44pm UTC](https://community.openhab.org/t/official-google-assistant-integration-for-openhab/40425/879 "2019-05-17T21:44:58Z")

</div>

Hi,  
Does anybody have an example of a full working thermostat? I have this:

```csv
Group g_Thermostat "Thermostat" ["Thermostat"]
String ThermostatMode "Thermostat mode" (g_Thermostat) ["homekit:HeatingCoolingMode"]
Number ThermostatCurrentTemperature "Thermostat current temperature" (g_Thermostat) ["CurrentTemperature"]
Number ThermostatHumidity "Thermostat humedity" (g_Thermostat) ["CurrentHumidity"]
Number ThermostatTargetTemperature "Thermostat target temperature" (g_Thermostat) ["TargetTemperature"]

```

But after re-syncing devices in Google Assistant, Thermostat always appears as offline in Google Home.  
If I comment out the mode:

```csv
Group g_Thermostat "Thermostat" ["Thermostat"]
//String ThermostatMode "Thermostat mode" (g_Thermostat) ["homekit:HeatingCoolingMode"]
Number ThermostatCurrentTemperature "Thermostat current temperature" (g_Thermostat) ["CurrentTemperature"]
Number ThermostatHumidity "Thermostat humedity" (g_Thermostat) ["CurrentHumidity"]
Number ThermostatTargetTemperature "Thermostat target temperature" (g_Thermostat) ["TargetTemperature"]

```

After I re-sync, the thermostat appears online, but, obviously, the mode doesn’t work. Also, there is no trace of the humidity.  
What am I doing wrong?  
Thanks.

---

_[View the full topic](https://community.openhab.org/t/official-google-assistant-integration-for-openhab/40425)._
