Tracking Energy Costs Question

Lets say I would like to know what my freezer is actually costing me per month. SO because I live in Ontario I need to have 3 number helpers that store the 3 current tariffs for on-peak, off-peak, mid-peak then I have to have a template sensor that outputs what the current tariff is. I create a utility meter to store the 3 different tariffs and then use the sensor to change the utility meter to the proper tariff. Then take the consumption from the energy monitoring plug and put that into a filter then the filter into the utility meter. I then create another number helper that takes the tariff usages and tariff values and do some math and I finally get how much it has cost me.

Energy Meter -> Filter -> Utility Meter -> Sensor to tell what bucket of 3 Tariff buckets -> Total Cost

This seems like A LOT of work just to get the cost for a device. Is there some easier way that I just don’t know about? Some kind of plugin or add-on that does all this for me?

I have made the process easier buy giving each utility meter a label so that when the Time of Use changes it auto changes all utility meters that have this label…

I jsut feel like there must be an easier way to tack costs for a device

1 Like

Also I have no idea how to display the data I am collecting for each item. I have created this markdown card which is great as it gives the information but i feel like it is quite boring. It just display the total monthly cost and will put a red dot beside the name if the device is currently consuming energy AKA is ON