I have several thermostats which show up as climate entities in HA. I can display temperature graphs in Lovelace. But when I try to use Grafana, none of these show up in InfluxDB. It looks like none of this data gets transferred.
It was near impossible to solve this, as it requires a few specific lines to Home Assistant’s InfluxDB YAML configuration, to allow entities AND their attributes to be pushed to InfluxDB.
Thanks, @kbahey, for the link to your article.
I, too, have the problem that my Aqara Thermostats’ heating temperature values can’t be found in my InfluxDB.
I tried what you suggest in your article but I still can’t find my thermostats’ heating temperatures in Grafana. The only temperature I can choose is the away_preset_temperature – neither the current_temperature of the internal temperature sensor, nor the target_temperature are visible/accessible.
Do you have the configuration.yaml for influxdb is like this:
influxdb:
host: x.x.x.x # IP address for your InfluxDB instance (e.g. 127.0.0.1 if on the same RPi)
database: home_assistant
max_retries: 3
precision: ms
tags_attributes:
- entity_id
- friendly_name
- device_class
Are you selecting from the “climate.xxxxx” (your thermostate entity name)?
This still does not work for me. I have added the tags as mentioned above but still no values from climate.xxx are showing up in inlfux. Have you found anything in the meantime?