I was following your PR the last few days And since you’re already here: Thank you for the amazing new header!
I’ve already updated to the beta. But no big deal - I’m used to alpha/beta software, so bugs are not new to me (also I’ve got lots of backups, just in case)
Great video @nicohirsch ! Can I ask, how did you change the color of your header? Is this finally supported in themes or does this have to do with dark mode?
So happy to finally see this functionality moving over to core. Was there ever a way added to hide views (tabs) for specific users/user agents? I seem to remember this was added at some point but I can’t find where to set it up without custom header. Is this only possible if you aren’t in YAML mode, is that’s what it was?
mayker
(maykar (pronounced "maker" with a southern accent))
53
You have been able to change the header color in themes as well as hide views for users in HA for a while now. The header theme variable is app-header-background-color.
The docs explain how to hide views for users here. Also, at the top of that same page are instructions on how to hide an entire dashboard from non-admin users. You can do all these things in YAML or storage mode. Follow the steps below if you don’t use YAML mode to manage these things from the UI.
There are switches to turn views on and off for users, hit the edit icon on a view while editing the dashboard and then hit the visibility tab. If you go to the sidebar and select Configuration > Lovelace Dashboards you can make a dashboard admin only.
must admit I am a bit disappointed with eh new Header in 117 not to show the instance name anymore. Why isnt this optional? It really should be, because now we dont have any option left to discern between different instances…
new 117.b1:
with favicon installed, but that seems not to work anymore?
I have three instances of Home Assistant running and use different header colors to discern between them (already did that with older HA versions and Custom Header):
yes that possible too, but not really the point now.
You can not ‘read’ it (the name of the instance, nor the optional view) anymore.
Again this is generic progress by taking specific functionality out. Hope Maykar can have a look to get that back in.
Btw, colors are also set by themes depending on various other states (night/day/alarm) so not really a true solution.
the height is identical now to history, logbook and map, but imho, still too large for icon only. Yet, compare it to developer tools where the page name still is displayed.
Would be really nice t have that possibility back for the Overview (and other dashboards)
You can set the height of the header with header-height: 48px in your theme(s) - then you get the “old” compact header height.
I’d not expect to many customization options, because they usually don’t get integrated into core.
But maybe sometime there will be something like custom addons for the header?
You can also check out card-mod to customize the header (but I don’t know what’s possible with that and the new header at the moment).
I’ve tried it but it isn’t proper solution for me because this view is used on other devices too, not only my dashboard. If I use it on my pc the header will be missed.
hmm, I would consider that to be a major oversight in the new frontend design. A bug even. Will wait a bit to see if we get a response here, otherwise will issue this in the repo.
just updated my main system to the new beta 117.0b1 (I know I shouldn’t do that), and it went miraculously well. Had to restart once manually over the CLI, because I got the red config complaining about the missing CC’s.
after that, only a few templates complain about the data types. and yes! the CH settings still work beautifully
And show my Instance name (and view) in the customized header.
Knowing this is going to break somewhere, Ill use the js resource very soon.
so,
thanks!