core icon indicating copy to clipboard operation
core copied to clipboard

Viessmann ViCare Integration: Missing device_class for energy sensors

Open MarianRychtecky opened this issue 6 months ago • 33 comments

The problem

I'm missing the energy sensors device_class for all my Vitodens 100 sensors. Adding the class manually only works for a few seconds before it is automatically rewritten.

What version of Home Assistant Core has the issue?

2024.7.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Viessmann vicare

Link to integration documentation on our website

https://www.home-assistant.io/integrations/vicare

Diagnostics information

I wish to add gas consumption to the energy dashboard, however all entities created by ViCare integration miss device_class (in my case, device_class: gas), according to:

https://www.home-assistant.io/docs/energy/faq/#troubleshooting-missing-entities

I tried to add device_class manually under Developer Tools > States, and this works, however entity's settings are rewritten in about 10s or so.

image

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

MarianRychtecky avatar Jul 30 '24 12:07 MarianRychtecky