I wanted to see how it performed throughout the passed year. However, we can only select the previous day in the dropdown? I did set it to Monthly in the right dropbox, but that was not very useful.
Please help me out if I missed the correct setting. If I didnt, would this be a valid FR…?
can select 6 months (or zoom out to) and monthly and see this
But I would still like to have an option to switch to increasing in this entities via a boolean switch or another select option in the dropdown. Whatever I set, I can not see what and when something happens exactly (if I need to check it directly). Same as for the changes in HA standard - one of the reasons to have this more than great replacement.
As said, not always, but at least in 50% of the cases. Perhaps a timing problem. Are you applying the alpha to hide asynchronously?
Same as for the other topic (lost of line, but there always, when in the future). Funny thing is, that the line is back, when I select on datapoint. Then it re-appears with the tooltip. To whatever can lead this information.
And THANKS already for the white background in advance.
Regarding this screnshot from my iphone
I think some less somewhere in padding or width would already bring it in one line on (at least tested so in chrome developer tools with iPhone SE). Funny thing is, that I have a 12 and developer tools already shows it in one line, but my phone not.
When I compare to the developer tools screenshot it look s different.
Much more margin/paddings in real live in first screenshot. Whyever.
I’m not really sure I understand. What exactly are you trying to achieve ? What do you mean by previous day ? You can display up to the last 6 months without scrolling.
Ok, I was able to reproduce this spacing issue on the XCode iOS simulator at work. Safari definitely adds both additional margins and additional padding around buttons by default. I think I can fix this by explicitly specifying the margins in the CSS.
I was not able to reproduce your rendering issues. Does anyone else experience these while on iOS ?
No, it’s just a hardcoded limit in the HE card. I had to set the limit somewhere, mostly for controlling memory usage of the cache. But I can add a one year option, no big deal.
I meant the rendering glitches on the graph lines and gridlines (see arganto’s screenshots here). The layout problem with the buttons I was able to reproduce on an emulator and I know how to fix.
not sure if this is possible, but could the date picker be adaptive there too? if one selects 6 months in the right selector, and monthly in the white dropdown
I would be cool if the left side dropdown would show the months, instead of dated days
(btw, I see the white box also in argantos screenshot. is that a frontend issue, or a css setting in HE we need to fix)
Why is entity selector using black theme? I seem to recall it wasn’t like this in previous versions. I have tried to put uimode: light but it makes no difference.
The selector background is not modified by this card, unless you specifically override it with uiColors. uimode will do nothing on that. It’s set by your browser. The dropdown list background color is set by HA’s theme. There’s something wrong with your theme.
My theme changes just more-info box sizes, nothing more. But: when the theme (any theme) is active the selector changes to black background. It then seems to take it from my browser’s (Edge) dark mode setting. If I change browser to light mode, then also the selector is shown in light mode. But I like to keep web browser in dark mode but still like to have HA in light mode.
So, I think my theme needs something added but not sure what…
I understand that the empty space at the end of the graph looked weird. But in my case, now you actually hide some of the latest data, I believe that’s even worse.
Maybe this show it better:
You could implement the following rule and actually fulfill both requirements:
If the dropdown is set to 10min / hourly / daily / monthly, show all data of the current 10min / hour / day / month.
I was so consumed with my own problems, I forgot to really read that thoughtfully. Sorry.
Yet I believe that Alex answered they are set to a fixed color but in a future update will be configurable?
btw, I dont use dark/light mode in my themes (because I dont use it on my devices, its way too black for my eyes, and set all colors manually.
besides that, I did try to add that uiColors: option, but wouldn’t know how to ‘update’ that yaml config. I ofc refreshed, and dd look for the enable/disable option in the dropdown, but its no longer showing…
otoh, I believe that is not required because:
Then, every time you modify the infoPanel YAML on the HE card, the card will update the local browser storage to match your changes. You could even delete the infoPanel section entirely and the override would keep its last config on that browser.
SO why it doesnt work, I have t find out:
- type: custom:history-explorer-card
header: 3 Fase totaal
cardName: 3-Fase-totaal
uiLayout:
# toolbar: hide
selector: hide
uiColors:
toolbar: red # <--- seems to have no effect....
lineMode: stepped
graphs:
- type: line
entities:
- entity: sensor.calculated_totaal_l1_power
- entity: sensor.calculated_totaal_l2_power
- entity: sensor.calculated_totaal_l3_power
# globally used in more-info panels
infoPanel:
lineMode: stepped
The white interval selector dropdown in the more info card is a bug. The fix ia actually on github already, I just haven’t created a release yet, as I wanted to test the iOS layout changes on the iPhone emulator first.
The thing with the selector background Timo has is different. The card doesn’t style it at all by default, so it’s entirely up to the browser. Different browsers handle dark / light modes differently.