hassio-addons / addon-grafana

Grafana - Home Assistant Community Add-ons
https://addons.community
MIT License
226 stars 62 forks source link

Grafana Where entity_id::tag instead of entity_id #370

Closed vvv850 closed 10 months ago

vvv850 commented 11 months ago

Problem/Motivation

Hoping that someone spots what's suddenly "wrong" with how I interact with Grafana and InfluxDB add-ons (both official add-ons on latest version HASS OS)

I recently noticed that when building a query I get entity_id::tag instead of entity_id. I am not sure if this is related but when selecting the entity it does not filter out the ones not belonging to the measurement.

Example: In the past: SELECT last("value") FROM "autogen"."A" WHERE ("entity_id" = 'shellyem3_40f52000ee68_channel_a_current')

Now: SELECT last("value") FROM "autogen"."A" WHERE ("entity_id"::tag = 'shellyem3_40f52000ee68_channel_a_current') And when I click on the entity I get ones of Voltage, Temperature, etc including the ones that I am looking for in Amps.

I tried looking through the changelogs but nothing caught my I.

Anyone had this experience?

Expected behavior

After selecting entity_id, filter out entities not belonging to the measurement as in the past

Actual behavior

Cannot find entity_id, only entity_id::tag and it does not filter out entities not belonging to the measurement

Steps to reproduce

Not sure when it started, anywhere between 1 to 2 months and a week ago. Create a new dashboard and a new query.

Proposed changes

github-actions[bot] commented 10 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!