I am really hoping someone can help me with this.
About a month ago I purchased a Shelly energy clamp meter and installed it on my mains connection. This integrated with HA without issue and I was able to get the data on the Energy Dashboard. I also added a couple of other energy devices (hot tub and washing machine which are both generated from TP-Link Energy Plugs). Again this all worked fine:
Then on 19th April my HA instance stopped responding. This happens periodically annoyingly I haven’t been able to track down the issue (HomeAssistantOS running in VirtualBox). I rebooted the VM and it came back fine. I then updated to 2022.4 from 2022.3. After the upgrade, I noticed that my stats working. Initially, I thought it was the upgrade but then I realised that they actually stopped during the downtime on 19th April:
I read about the breaking change regarding energy but I don’t think there is any action for me to do here. When I search in the Energy config area for energy sources all of my sources show up:
The three sources all show data in kwh which, AFAIK, is what the Energy Dashboard requires:
There is nothing in the log related to the energy dashboard.
I did find this post which sounds similar and mentions that ‘The Energy dashboard now uses state_class: total_increasing instead of last reset’ but these entities are not template sensors that I have created. They have been created by the integrations so there is nothing for me to change here that I can see. Although, as a test I did create template sensors and add them to the Energy config but this still displayed no data on the Energy Dashboard:
- name: Mains Energy Monitor New
unit_of_measurement: "kWh"
state: '{{ states(''sensor.shelly_mains_energy_monitor_total_consumption'') }}'
device_class: energy
state_class: total_increasing
That about sums it up. I am at a loss and I am gutted I am not tracking my energy for the past few days. If anyone has any ideas it would be greatly appreciated!
Cheers