Hi everyone, I wanted to share a solution I found for monitoring energy usage with my Arlec Grid Connect smart plugs. These devices are fantastic for tracking how much power my appliances consume, but I ran into a small issue with Home Assistant (HA) not showing the total kWh over time. After some experimentation, I discovered a simple fix by adding a configuration to my configuration.yaml file. Here’s what I did:
yaml
- platform: integration
source: sensor.ty314159265666666666
name: Main Fridge Energy
unit_prefix: k
round: 2
This setup converts the real-time wattage reading into kWh and logs the energy usage over time. After testing and restarting HA, the new sensor appeared in the energy section, making it much easier to track consumption. If you’re using the older Tuya integration, you might need to create a custom sensor, but the process is straightforward with the right template.
I hope this helps someone else who’s trying to optimize their energy monitoring setup! Let me know if you have any questions or if you’ve found other useful solutions.