Closed fredtj closed 9 months ago
Hey there @oischinger, mind taking a look at this issue as it has been labeled with an integration (vicare
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
vicare documentation vicare source (message by IssueLinks)
Same problem in 2023.3.1 Can't add vicare sensors to HA Energy Dashboard.
Same in 2023.4.6.
Apparently vicare sensors storing consumption data are missing device_class
property. I managed to fix it by adding following customization to my configuration.yaml
(this is for daily gas consumption in m³) and I was able to use them in my energy dashboard.
homeassistant:
customize:
sensor.vicare_heating_gas_consumption_current_day:
device_class: gas
sensor.vicare_hot_water_gas_consumption_current_day:
device_class: gas
https://github.com/home-assistant/core/issues/88961#issuecomment-1551341311
@mmolenda Works perfectly after restart! Thanks for this!
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
not stale, requires integration fix, thanks
Hmm, with 2023.10.3 and Vitodens 200 I have in my energy dashboard for 7 days this:
(do not look at the electrical values, my meters are not supported so far)
I mistakenly used the "year" consumption, but as you can see it does fit well to this card:
So, when not using the current_day consumption, at least it is doing something. I will observe, if it will work with daily usage - just edited now ;-)
Same issue for me. I can't add any heat or hot water gas to the dashboard. The values are available in HA in general, but not in the energy dashboard.
Home Assistant 2023.10.3 Vitodens 300
Thank you for your support.
Same issue for me. I can't add any heat or hot water gas to the dashboard. The values are available in HA in general, but not in the energy dashboard.
Sure you know where to edit the Energy Dashboard?
It is here:
do not click at the red X, do klick at the O
Hi @modem-man-gmx ,
these are the only 4 (+1 already add on the screenshot) values I could add to the GAS Consumption within the dashboard: But these values are shown and available in HA in general for the "keyword" gas:
Do you have an idea what is missing or I am doing wrong? Thank you for your support.
I have these two here:
with 'ViCare Heating gas consumption today' (sensor.vicare_heating_gasconsumption...) and with 'ViCare Hot water gas consumption today' (sensor.vicare_hot_water_gasconsumption...)
Those are the same, you have in the states developers view. My Vitodens is of 2023 and I use the free registration api key (1440 calls/day)
I don't know if this is helpful, but I often use the developers view "template" and put the jinja state_attr('...') in, to see, what a sensor is offering.
When I start typing sometimes a drop-down widget appears and is showing different entities!?: this way I found a lot of useful details. Will not say that I have any knowledge about the commands and terms possible there, only played with state_attr so far.
Hi @modem-man-gmx , your comment didn't actual solved the issue, but still put me on the right track. Seem like there was an issue with the statistics in my instance. In developer view, statistics where something to fix. After correcting this, it works fine.
Thank you.
@mmolenda is it just the device class that needs to be added in the integration? That would be a quick fix. But I would not have the ability to test it as my heating does not provide these values.
@CFenner I guess so. That's the only fix I applied through customisation and got it working with energy dashboard.
@mmolenda I created a PR to add the missing device classes. Can you verify if this fixes your issue? I do not have the hardware to check myself.
To test this, you simply need to download the code of that PR and copy the folder vicare
from home assistant/components/
to config/custom_components/
on you HA instance.
But these values are shown and available in HA in general for the "keyword" gas:
Do you have an idea what is missing or I am doing wrong? Thank you for your support.
@truwer there is an automation inside the integration that determines the device class (Gas or Energy) by the unit, which is in my eyes wrong as gas can be kWh or m^3.
Edit:
From https://developers.home-assistant.io/docs/core/entity/sensor#available-device-classes: Gas consumption measured as energy in kWh instead of a volume should be classified as energy.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
When setting up Gas Consumption, statistics from the ViCare integration are not available to add.
https://www.home-assistant.io/more-info/statistics/
The page above explains this is an integration issue, therefore I am reporting this.
What version of Home Assistant Core has the issue?
2023.2.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
ViCare
Link to integration documentation on our website
https://www.home-assistant.io/integrations/vicare/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response