SOLVED - sensors not supported via Google Home - Nabu Casa

Hi all, I couldn’t find anything in the community on this so creating a new topic, any pointers greatly appreciated.

I currently have Google Home voice assistant in my Home Assistant setup, via Nabu Casa, and mostly it works. However, there are a number of sensors that I’d like to have voice control over, but they are marked as “not supported by this voice assistant”, and I don’t understand how to troubleshoot this.

For example, I have a Kitchen Temperature sensor which is supported in Google, e.g. I can say “Hey Google what is the kitchen temperature?”.
image

However, I would like to expose my blood glucose measurement so that I or my family can say “Hey Google what is Julian’s blood sugar?”. This is provided by the LibreLinkUp integration GitHub - jrsmile/librelinkup: Home Assistant custom Integration for LibreLinkUp. However, the sensor says it is not supported. I wondered whether it was because Google could not interpret the units (mmol/L), so have experimented with template sensors, including one that used degrees centigrade as a unit, and with input_numbers, but none of these are supported.

So, I guess what I’m asking for is, does anyone know what the criteria are for whether a sensor is supported by the Google Assistant integration, suggestions on what I’m doing wrong, or whether there are logs or config files that I can interrogate to try to troubleshoot?

I can provide YAML for the various sensors and/or log entries if of use. Thanks in advance.

Version info: (though I’ve had this issue for around a year across various versions)

  • Core 2025.2.1
  • Supervisor 2025.02.0
  • Operating System 14.1
  • Frontend 20250205.0
    Hardware: Rpi4 4Gb

Bumping this as it’s had quite a few views but nobody seems to know the answer. Help appreciated.

In desperation I’ve been looking at the HA source code where this message appears and tagging one of the developers @piitaya – Paul, if you could explain where I could find the logic for why some sensors are unsupported by Google, or point me to some code that might explain it, I would be really grateful.

What’s the device class of the sensors you exposed?

Only sensor with this devices class are supported :

  • temperature
  • humidity
  • aqi
  • co
  • co2
  • pm25
  • pm10

Here’s the list of compatible sensors in Google Home : Cloud-to-cloud  |  Google Home Developers

1 Like

Thanks for your reply, Paul. I now have it working. TL;DR: to expose a template sensor you need to add a device_class to the entity via the customize: section, in addition to the template definition

Specifically, I’m trying to expose an entity that is measured in mmol/L, and I figured that the units were why it couldn’t be exposed. Therefore, I created a template sensor that exposes the value as a temperature, rather than glucose reading, with the following.

  - sensor: 
    - name: My Glucose As Temperature
      unique_id: my_glucose_as_temperature
      unit_of_measurement: "°C"
      state_class: measurement
      state: >-
        {{ states('sensor.julian_lawson_glucose_measurement') | float }}

If I look at this sensor in Developer Tools/States, it looks the same as my Kitchen Temperature entity (which is exposed successfully to Google), except for not having a device class:


To add the device class I needed to put an override in the homeassistant section a decribed here

homeassistant:
  customize:
    sensor.my_glucose_as_temperature:
      device_class: temperature

And now it’s working

1 Like