Can we allow Google Assistant to get data from sensors via HomeAssistant?
I have Xiaomi Temp sensors that are working with HomeAssistant and I would like to get data from them through my Google Home.
I have the Google Assistant setup completed successfully and I have the following added to my customize.yaml for the sensor:
sensor.temperature_158d0001b952a3:
friendly_name: 1st Floor Temp
google_assistant: true
google_assistant_type: climate
aliases:
- living room temp
I have also added the sensor to the âLiving Roomâ in the google home app.
When I ask my Google Home âWhat temperature is it in the living room?â she replies âSorry, I am unable to reach living room temp right nowâ
Would it be possible to add this functionality until the âclimateâ type for Google Assistant
Same question from me, but for all sorts of temperature sensors (Xiaomi, Aeotec Multisensor, Philips Hue Motion Sensorâs temperature values).
And - related but not the same - I wonder if it would be possible to set the target temperature on a climate component like the Danfoss Z-Wave thermostats for radiators.
Did this work? I am in similar situation⌠5 Xiaomi Temperature sensors around the house and would like to ask google home (already setup) about the temperature in each room
This is what Iâm using on 0.61.1, a modified version of @rofrantz pull request. Youâll need to go to your components/google_assistant/smart_home.py file and replace the code with this:
âremoved due to updated PR â
Make sure you relink/resync your assistant. Iâm able to expose my Celsius temperature sensors using the following under the google_assistant entity_config:
No @KKlitgaard it will not work to set values as described in my PR. Sensors will ONLY report (read) values without any possiblity to set them (write).
The PR has been updated for those interested in setting this up before it is officially merged. As per my instructions earlier it needs to replace smart_home.py in the google assistant component.
Youll get a device error, the only way you can call it at this time is âok google what is the temperature in the room name?â
The query response is what is given back from google about the devices state and value so at this time there is no way to have only the value returned.
As of 0.65 you can no longer expose sensors in this manner to google assistant. You will need to create a generic thermostat that links to the temperature sensor. Then expose the generic thermostat in the entity_config for google assistant as a climate device
Sorry, i mean i cannot have those sensors working with Google Assistant. My question is how to have them recognized by Google Assistant like switches and lightsâŚ