This is given me a nice graph of monthly energy usage.
What I also want is the total costs per month. Is there an option to calculate the outcome based on a static price and the same kWh results?
I do not have history of calculated prices I can use (only the used energy). It would be nice to solve this by just adding a simple calculation of kWh (monthly) * € (fixed cost for every month).
Cannot get my vinger arround how to get this to work.
Create a monthly utility_meter on sensor.honda_energy and a sensor template based on it which calculates the cost.
If you want history, set the appropriate device_class, state_class and unit_of_measurement.
That assumes the same fixed price forever, which tends to not be the case for anything.
Having a sensor allows me to have the actual cost at any given moment saved in history (I know, I know, you don’t use HA history )
Hi, how did you manage to place the marker on the zero values?
I can’t seem to get it right unless I also make them appear on top of the other values.