I would simply avoid to mix all those together cause what you want is visible on the footer I guess, the kWh consumption graph by date , right ?
I have done these the past days that are based on the power metering utility or ingeration that resets the hourly, daily, weekly monthly counters when it is time.
You might try this one out, which will give you a daily graph.
you have to adjust lower and upper bound (kWh s in this case)
Only stock graph may be used for header & footer with ONE sensor defined by the “entity:” option.
There is no "entity" option for "mini-graph-card", so there is an error:
I hear what you’re saying, and I see the docs. Just wanted to mention that this works for me on 2021.5.5. I suppose it will break now when I upgrade my HA instance.
only started recording the cloud coverage sensors since this afternoon, so not sure yet if this is the right one to use, but the graph is better now.,
thanks!
I think that you messed up the things - binary sensor have just 2 states - true / false and doesn’t have attributes (attributes are feature of devices).
Attributes aren’t supported — it’s not a documented feature. You need to create a template sensor to extract the attributes into its own sensor (it’s been asked several times on this thread).
According to Github, attributes are added to dev version; we are waiting for release version; and probably anyway I gonna stay with template sensors & availability checks…
Is there any way to have a graph from a sensor, but also draw in the same graph a horizintal line with a value. The scope is clearly see if we are below or above a certain treshold (horizintal line). THX!
config-template-card - read community forum (use search) as well as official docs on GitHub (there is a link to the docs on the 1st post in the corresponding forum’s thread
card-mod - search for my post in this thread with examples