StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
615 stars 111 forks source link

[BUG] Shelly EM history issue #757

Open alexandreberton opened 1 year ago

alexandreberton commented 1 year ago

Hello everyone.

Environment

Describe the bug

I have 6 Shelly EM devices on my Home assistant. I got an issue with Total conso and total returned for all of theses 6 devices.

I have added some screenshots bellow

If I use the MQTT integration instead of the ShellyForHass plugin, values are correct :(

Steps to Reproduce

Add a shelly device and wait untill you get datas.

Expected behavior

History should be correct

Screenshots

Values here are correct: image

But if I check the history something is wrong: image As a result data caming from shellies devices in energy dashboard are wrong.

Traceback/Error logs

Additional context

Thanks,