Should the state map be associated with a graph axis perhaps?
I notice a large number of warnings in the debug console that “x value not found in state map” because I have an analogue and boolean entity in the one graph and it is trying to convert the analogue values using the state map.
Yeah that should be more than enough. When you hover the mouse over the graph the points should show and the graph value should change to the hovered point value.
Oh right… now I see what the problem was, I have show_state: false because I have the current value elsewhere on the screen. In order to have that feature I need it set to true. I was hoping for a pop-up so I don’t have to have the current value above the graph…
It will look like that if HA isn’t connected to the history database, and the card can’t pull any history data.
Try restarting HA and make sure the recorder is setup and working correctly, check if the standard history-graph works.
I think you might be loading an older version of the card from cache.
Try clearing cache and if using HACS, check this:
Yeah, or even mapped to an entity, not really sure how to best solve it.
The warnings are nothing to worry about though, won’t break anything, just kinda annoying
@kalkih I am using the DSMR integration which gives me amongst others an hourly gas consumption sensor.
Now, I would love to show the daily gas consumption with Mini Graph Card of the last week. So, I was thinking of using something like this:
group_by: date
aggregate_func: max
hours_to_show: 168
max however returns the highest gas consumption measured during the day. There’s also a min and an avg. Is there a way to use sum or something like that? Or do I actually need to calculate the sum with a separate sensor?
I was wondering, is it possible to add a ‘goldilocks’ zone on the graphs (e.g. the famous humidity zone of 40-60% or a temperature zone that would be OK for the living room). I guess I could make static sensors with these values but that’s not very flexible.