Custom Header

i get the following.
so in order to work I have to add more options in the configuration.yaml for dark sky? is that right?
if yes, can you give me please a list of it. perhaps from yours configuration?

attribution: Powered by Dark Sky
unit_of_measurement: km/h
friendly_name: Dark Sky Wind Speed
icon: 'mdi:weather-windy'

I don’t use dark sky and I also did not write the template that you’re trying to use. A good place to start to troubleshoot would be to go to “developer tools” in your sidebar, then “templates” and test that the templates you’re using are reporting data. Example to paste into the template editor:

{{ states('weather.dark_sky') }}
{{ }}

Discussions on this unsupported CH “feature” should be posted here.

1 Like

Dear all, i’m using HA in my bed&breakfast and i’m looking for a solution to disable the link on “user profile” in the bottom left corner of my lovelace dashboard because i have to BLOCK THE ABILITY to change password for my customers.

I tried to use Kiosk Mode but - at the same time - my customers have to check history and notifications…

Someone could point me to the right direction?
Thanks a lot.

Custom Header doesn’t modify the sidebar. I think the closest thing to what you are looking for would be custom-sidebar, but I don’t believe you can hide the user profile with it. Maybe add a feature request on that project.

Thanks a lot man!
And… what do you think about the ability to move “history and notifications” on the tab menu???

Thanks a lot

That’s not something I’d add to custom header, but with some fancy html & css you may be able to create buttons that link to those sections. Look here for an example on how to create buttons in the header text, but you might be better off making images that link to where you want. Discussion of that unsupported feature should stay in that thread.

sorry but i don’t see link to the discussion… thanks

Sorry, fixed the links

thanks a lot

One of my views is a remote control for the lounge home cinema setup.
I would like to be able to switch in an out of kiosk mode to give more screen real estate.
At the moment, I do this with a button that toggles an input boolean which is referenced in a template in the custom header section of the Lovelace config.

However I would ideally like to do this on a user by user basis.

Is there a way that I could make a switch toggle a different input boolean depending on which user pressed It? or show a different button depending on which user is viewing?

Thanks in advance,

Use CH to make a view for each user and then hide/show views based on logged in user or use any of the following to make a card, button, etc that changes based on logged in user:

I’m sure there are more.

That’s brilliant thanks. I’ll look into those. I wanted to avoid duplicating the view as it is quite a complex view. so didn’t really want to duplicate it. But those button tools look interesting.


Hi. First big thanks your custom-header custom part. Thats give me so much more space my tablet view.

Just have on questions is that possible to get your custom header project or is that allready there. I use your compact_mode: true. I think is that possible to get normal clock going there?

Here is example picture with paint, what i try to explain :slight_smile:

This isn’t something I would add. With the way the header elements interact with eachother it would be a mess to try and support.

1 Like

@mayker I went through the docs but can’t find any easy way to center the tabs. In footer mode it’s still justified to the left which looks odd. Any easy way to accomplish that?

Is there any way to install this without HACS? Looking through the github there is no raw custom-header.js that I can copy to my config.

@lseufer Not yet


1 Like

Thanks @mayker, I can’t comprehend or explain how I missed that.

sorry for being late to the party in using the built-in vars, so please allow me this question, which might seem rather basic…again, sorry

using the {{ viewTitle }} in the header shows the correct viewtitle alright, which is very nice, and prevents the need to hove the current tab/view for the popup title. So cool.

Only thing is, it doesn’t change on view/tab change, but seems to wait for the next minutal refresh. Is this correct? If so, could you please automate the updating of these templates (or the vars Title, Path and Index) which of all vars seem most in need for this automation) per view change?

Or could we do so ourselves?

thanks for considering.

Did you managed it?