Homematic thermostat and Google Home

Tags: #<Tag:0x00007f74582aa958> #<Tag:0x00007f74582aa818>

I finally made it to get my thermostats running smooth in openHab, but they are still not accessible in Google Home.
They are discovered by the Google Home app and I can assign them to the different rooms, but when I oen a Thermostat controll it just says “Offline”

What point do I miss?

Items:

Group gAZ_thermostat "Heizung"  ["Thermostat"]
    Number AZ_thermostat_Mode                       "Thermostat Mode"                                       (gAZ_thermostat) ["homekit:HeatingCoolingMode"]
    Number AZ_4ACTUALTEMPERATURE                    "aktuelle Temperatur"               <temperature>       (gAZ_thermostat) ["CurrentTemperature"]                 {channel="homematic:HM-CC-RT-DN:3014F711A061A7D8A9AB3FE8:PEQ1312969:4#ACTUAL_TEMPERATURE"}
    Number AZ_4SETTEMPERATURE                       "soll Temperatur"                   <temperature>       (gAZ_thermostat) ["TargetTemperature"]                  {channel="homematic:HM-CC-RT-DN:3014F711A061A7D8A9AB3FE8:PEQ1312969:4#SET_TEMPERATURE"}
    
    Switch AZ_4BOOSTMODE                            "Boost mode"                        <temperature>                                                               {channel="homematic:HM-CC-RT-DN:3014F711A061A7D8A9AB3FE8:PEQ1312969:4#BOOST_MODE"}  
    String AZ_4CONTROLMODE                          "Control mode"                      <settings>                                                                  {channel="homematic:HM-CC-RT-DN:3014F711A061A7D8A9AB3FE8:PEQ1312969:4#CONTROL_MODE"}
    Switch AZ_4AUTOMODE                             "Auto mode"                         <settings>                                                                  {channel="homematic:HM-CC-RT-DN:3014F711A061A7D8A9AB3FE8:PEQ1312969:4#AUTO_MODE"}
    Number AZ_4MANUMODE                             "Manu mode"                         <settings>                                                                  {channel="homematic:HM-CC-RT-DN:3014F711A061A7D8A9AB3FE8:PEQ1312969:4#MANU_MODE"}
    Number:ElectricPotential AZ_4BATTERYSTATE       "Battery Status"                    <batterylevel>                                                              {channel="homematic:HM-CC-RT-DN:3014F711A061A7D8A9AB3FE8:PEQ1312969:4#BATTERY_STATE"}
    Number AZ_4VALVESTATE                           "Ventilstellung [%.0f %%]"          <pressure>                                                                  {channel="homematic:HM-CC-RT-DN:3014F711A061A7D8A9AB3FE8:PEQ1312969:4#VALVE_STATE"}
    Number AZ_4BOOSTSTATE                           "noch im Boostmodus [%.0f Min]"     <time>                                                                      {channel="homematic:HM-CC-RT-DN:3014F711A061A7D8A9AB3FE8:PEQ1312969:4#BOOST_STATE"}

Sitemap:

 Text label="Heizung EZ" {
                Default item=EZ_4ACTUALTEMPERATURE
                Setpoint item=EZ_4SETTEMPERATURE minValue=15 maxValue=30 step=1
                Selection item=EZ_thermostat_Mode mappings=[1="Automatic", 2="Manual", 3="Boost"]
                Default item=EZ_4BATTERYSTATE
                Default item=EZ_4VALVESTATE
                Default item=EZ_4BOOSTSTATE visibility=[EZ_4CONTROLMODE == "BOOST-MODE"]
            }

Rules:

rule "AZ_Mode Switch"
when 
    Item AZ_thermostat_Mode changed
then
   if (AZ_thermostat_Mode.state == 1){
       AZ_4AUTOMODE.sendCommand(ON)
   } else if (AZ_thermostat_Mode.state == 2){
       AZ_4MANUMODE.sendCommand(Target_Temperature.state as Number)
   } else if (AZ_thermostat_Mode.state == 3){
       AZ_4BOOSTMODE.sendCommand(ON)
   }

end

rule "AZ_Sync thermostat mode"
when
    Item AZ_4CONTROLMODE changed
then
   
   if (AZ_4CONTROLMODE.state.toString == "MANU-MODE"){
     AZ_thermostat_Mode.sendCommand(2)  
   }else if(AZ_4CONTROLMODE.state.toString == "AUTO-MODE"){
    AZ_thermostat_Mode.sendCommand(1)
   } else if (AZ_4CONTROLMODE.state.toString =="BOOST-MODE"){
       AZ_thermostat_Mode.sendCommand(3)
   }
   end

cheers
Sascha