Shelly Plug S Energy Monitoring Issues

I’ve recently set up a Shelly Plug S in my home to monitor energy usage, and I’m encountering some issues with the energy data in Home Assistant. While the device is connected and functional, the kWh values are inconsistent and sometimes completely absent from the energy dashboard.

I’ve followed all the setup instructions correctly, ensuring the Shelly Plug S is integrated via WLAN and appears in Home Assistant. The device is reachable and responsive, and the state attributes show the correct measurements. However, the energy dashboard doesn’t consistently display the kWh data, which is frustrating.

I’ve checked the network settings, and everything seems fine. The Raspberry Pi and Shelly devices are on the same network, and there are no firewall or port issues that I can identify. I’ve also reviewed the developer options and confirmed that the payload is correct.

Has anyone else experienced similar issues with Shelly devices in Home Assistant? I’m curious if there’s a known workaround or if I’m missing something in the configuration. Any advice or insights would be greatly appreciated!