Might be that I don’t understand it fully but I would like to display daily power consumption using the utility meter. I would like it to look like the Energy dashboard with one bar per day but with more flexibility using Apex Charts. Here is the sensor:
And the code:
utility_meter:
energy_daily_kwh:
source: sensor.sensor.last_meter_consumption_vagen
cycle: daily
name: Elförbrukning - dag kwh
The outcome from the utility meter is a graph that doesn’t have one bar per day as I would like:
As I udnerstood it, the utility meter would gather data from one day (the total amount consumed) and store it as one value for that day. Here there are tons of values for each day. What am I missing?
2 posts - 2 participants