Hey, so I have a entity that displays the total home current in mA, a entity that displays the power in W and i basically want to create a entity that divides the current by the power and that will get divided by 220. How will I do that so i have a entity that dysplays me the total kWh?
If you want your energy consumption you can create an integration helper using your power sensor as a reference.
So a tad confused, you want to divide the current by the power? P / I = U
Thats already the voltage. If you divide that by 220 you’ll likely end up with 1ish depending on where you live?
Scrap that, why would you ever divide the current by the power?
If you already have the entity that displays in W then you already have kWh since thats just wattage used per hour.
This dashboard is for energy consumption, not power consumption.
In order to calculate the Energy consumption from your power sensor you can use an integration helper.
You can find it under Settings > Devices & Services > Helpers > Create helper
i can’t find that helper type
These is how i’ve set it up, the Power Home entity is the total W. But when i go to add the Consumption home entity that i just created onto the enerygy panel it still doesn’t apear.
Wait a few minutes and take a look again.
it’s been 5h and still saying unknown
What about the power sensor? Do you have anything greater than zero on that sensor?
Could you please share the status and Attributes of the new energy sensor (helper) on the Developer Tools > Status?