Problem with Energy

Hi to all.
I have been using the energy module since it was released and have always found it very useful.
I have 3 Shelly sensors for consumption, production and placing.
On October 07 I made two operations:

  • I updated to version 2021.10.1

  • I added and immediately deleted two sensors for individual devices (shelly 1PM for washing machine and shelly 1PM for dryer).

From that day on, I can’t see the energy stats anymore and I don’t understand why.
The sensors detect the values correctly, as you can see in image.
Sensor
There is an error in the log:

2021-10-11 15:08:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548380868768] Received invalid command: energy/info

Can you help me?


Did you ever resolve this issue ?

My setup was also working fine but I notice for the last 6 days nothing is shown on the energy stats and I also see the same error in the logs.

Yes, I solved it.
In my case, it was a problem related to the installation of the 2021.10 release causing a problem on the MariaDB database. The problem has been fixed with the 2021.10.4 release. In this topic you will find more information:

https://community.home-assistant.io/t/energy-dashboard-sql-problem-after-2021-10-upgrade/344708

Thanks for your reply.

Unfortunately I am running the latest release so guess my issue is something else.

having the same issue [homeassistant.components.websocket_api.http.connection] [2975217528] Received invalid command: energy/info on the latest non beta verson

found a solution? I am on the same boat…

ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140060227029984] Received invalid command: energy/info

I have same errors in core log. Every time when restarting core those error will be logged. When restarting HA host no errors. Energy monitor space working fine.

Running:
core-2021.12.10
supervisor-2021.12.2
Home Assistant OS 7.2