Is it possible to have the states on top show the current/last value of a series, but the series itself be grouped? I have my solar produktion and consumption as two series, but want to “flatten” the curves (grouping by 5 min), but I want the current solar produktion and current house consumption to be shown on top.
Edit: I think I found it myself. in_header: raw will use the raw data, not the grouped data, inside the header.
I was using transform functionality to change Watts to kW inside the series. Howeve, when using in_header: raw it would not transform and display W instead of kW in the header. I had to create a template sensor for that and remove the transform function from the series.
For some reason, the y axis labels are shown with font Times New Roman (or similar) while other text in my dashboards are shown correctly with Segoe UI Light. This is only an Issue on my iPad. Most often when something isn’t working it’s because I messed something up, can you see what is wrong here?
Upps that looks wrong … thou style, under last labels l … font again under styles l … which seems to be 1 more slash for both , and then try with ‘font’ … meaning the smal upper dots, what ever they are called
That didn’t help unfortunately. But changing the font size works on my iPad so the label style is used but for some reason not the font family. I then thought it is because Segoe UI Light isn’t available on my iPad but it works in a markdown card.
Hi,
so the data (green on the screenshot can be 0 or 1) and in the upper right corner the value is displayed.
Is it possible to change what is shown from for example: “0” to “No” and “1” to “Yes” ?
Hi!
I have seen a bug in the line apexcharts-card. I have a diagram that measures my electricity costs. When my solar panels produce enough electricity this diagram get stuck on a minimum value for a while. But the diagram visualize this period as a spline from the minimum value at the beginning of the period to the top of the next higher value. When I hover on the diagram I can see that it just has a starting point and an end point in the spline.
This happen for instance when I turn on something in the kitchen in the afternoon.
So in this diagram there should have been a horizontal line along the red line and a spike at the end of the red line to show the correct values.
In recent days I’ve started to notice strange instability in HA 2023.3.1 lovelace. For instance, adding some card to an existing grid card seems to crash the page (Mobile Safari on iOS gives error that page has had recurring issues) and now that I tested with PC Chrome I can indeed see lots of errors, and they seem to be linked to ApexCharts-Card only – even though the page in question does not have any Apex Charts.
Also, scrolling a page (also not having any Apex Charts) that has a weather-radar-card sometimes, but not always, crashes the iOS browser too when that card appears on screen, and only when that card is scrolled to view. Accessing that page on Chrome seems to introduce a few Apex errors too but only a few, compared to the flood of errors on the other page.
See browser logs linked below.
(FWIW, based on recent custom card additions, I think these errors could be linked to two cards I added through HACS, ha-energy-overview-card & lovelace-collapsable-cards but I have not tested yet if the apex errors disappear if I remove those. In general, can some cards mess up other cards?)
→ after removing the recent custom cards, the answer seems to be No.
An update to this issue: The errors seem to pop in the browser console regardless go the cards I had added lately – tried uninstalling them but the issues persist. Even deleted a bunch on old unused apexcharts-cards from old views I had stored, no help.
The same errors appear in the log every time I try and add any card to any view and apparently these are enough to cause Mobile Safari (in companion app) to give up and reload the page.
Logs from macOS Safari (HA 2023.3.3):
[Error] Error: Invalid value for <svg> attribute height="NaN"
value (apexcharts-card.js:1:187074)
value (apexcharts-card.js:1:538201)
value (apexcharts-card.js:1:534493)
value (apexcharts-card.js:1:640199)
(unknown function) (apexcharts-card.js:1:646245)
Promise
value (apexcharts-card.js:1:646178)
(unknown function) (apexcharts-card.js:1:649907)
[Error] Error: Invalid value for <foreignObject> attribute height="NaN"
value (apexcharts-card.js:1:381752)
value (apexcharts-card.js:1:385841)
value (apexcharts-card.js:1:640808)
(unknown function) (apexcharts-card.js:1:646245)
Promise
value (apexcharts-card.js:1:646178)
(unknown function) (apexcharts-card.js:1:649907)
[Error] Error: Problem parsing d="M 0 NaN"
attr (apexcharts-card.js:1:568741)
value (apexcharts-card.js:1:177278)
value (apexcharts-card.js:1:178847)
value (apexcharts-card.js:1:259522)
value (apexcharts-card.js:1:258551)
value (apexcharts-card.js:1:536390)
value (apexcharts-card.js:1:641224)
(unknown function) (apexcharts-card.js:1:646245)
Promise
value (apexcharts-card.js:1:646178)
(unknown function) (apexcharts-card.js:1:649907)
[Error] Error: Problem parsing d="M 0 NaN"
attr (apexcharts-card.js:1:568741)
value (apexcharts-card.js:1:177278)
value (apexcharts-card.js:1:178847)
value (apexcharts-card.js:1:514372)
value (apexcharts-card.js:1:510827)
value (apexcharts-card.js:1:536441)
value (apexcharts-card.js:1:641224)
(unknown function) (apexcharts-card.js:1:646245)
Promise
value (apexcharts-card.js:1:646178)
(unknown function) (apexcharts-card.js:1:649907)
Thanks for the reminder. My excuses for the late reply. Not sure now if it was a bug or not, but here is a snippet of the yaxis code that I use. You might have to remove indentation by 2 spaces if not using the custom:config-template-card. It’s the show options you need immediately after the apex_config:.