The following entities do not have the expected device class

Hello,

I connected IamMeter into my Home Assistant and everythink worked fine. After some days I found that Energy Dashboard doesn't work.



When I tried to add again integration I was not able to add it in standard way, see below.


 I add it manually, but integration didn't shows in list of integrations.

Information about energy consumption which I have shown in batches work fine, but doesn't work in energy dashboard.

Because I was not able to use integration via http, I had to use integration via modbus.

Thread Status
6
745
2
0
0

Sort replies by:

Please provide the version number of Iammeter_http in HACS

Hello, unfortunately I don't have listed IamMeter http in HACS. I have in HACS only IamMeter Modbus v1.0.6 and IAMMETER v1.0.13, But in Settings-Integration I have all Integrations. In folder custom components I see the folder.


In file manifest.json there is mentioned version 0.1.0.


You can try redownload iammeter integration in HACS (IAMMETER is iammeter_http in HACS), or continue to use IamMeter Modbus integration which responds faster than iammeter_http

But there is still problem with entities which don't work correctly.

You can try redownload iammeter integration in HACS (IAMMETER is iammeter_http in HACS), or continue to use IamMeter Modbus integration which responds faster than iammeter_http

1. So you have to try redownload iammeter integration in HACS
2. Clear these error entities in the settings

If the entity can be found normally but cannot be displayed in the energy dashboard(This kind of problem generally occurs when the official integration is used), you can add the following configuration in configuration.yaml:

sensor.*_importenergy*:
    last_reset: '1970-01-01T00:00:00+00:00'
    device_class: energy
    state_class: total_increasing
sensor.*_exportgrid*:
    last_reset: '1970-01-01T00:00:00+00:00'
    device_class: energy
    state_class: total_increasing 

Looks like you are new here. Register for free, learn and contribute.