ok, re-iteration on an earlier discussion we had, concerning CH on multiple dashboards.
Ive made my own shortcut menu bar, and have grown so accustomed to its ability to span all dashboards, Ive been trying to get my head around how the CH menu bar could do this. I cant seem to find that ability, though it really is an awesome feature.
Am I overlooking this option completely, or is it really not possible yet.
have a look what I am trying to say:
is my own shortcut menu bar, with buttons pointing to the various paths spanning my 3 dashboards. With some nifty templating, ive been able to even display depending on admin or not, and several modes or not. That is all possible too in CH of course.
Yet, the window.location.pathname used in my JS templates in the button card make the dashboard crossovers possible.
Would this be a feature available in CH too (now, or as a future addition)?
mayker
(maykar (pronounced "maker" with a southern accent))
1025
CH is way too feature bloated as it is. Iâve considered it, but adding tabs/buttons that donât already exist in the default header isnât something that Iâd add.
by the above, you mean the tabs per dashboard right? By which the answer to the request for cross dashboard tabs has been givenâŚ
I understand what youâre saying, CH has a lot of magic options dont want to take away from thatâŚ
mayker
(maykar (pronounced "maker" with a southern accent))
1027
Exactly. There have been a few other feature requests for things that would interact with other dashboards, like using tabs in other dashboards for default tab, etc. Unfortunately, this causes more problems than it solves since each dashboard is itâs own Lovelace instance with itâs own config. This opens possibilities of endless loops of redirects and other fun bugs/unwanted behavior.
Just more trouble than itâs worth, especially since HA already has features like setting a default dashboard per device, admin only dashboards, the ability to hide dashboards from the sidebar, and Iâm sure more will come with time.
The problem with many of HAs integrated solutions is that they just save the settings in the users browser, not in a users profile, so if I move bewteen browser, clear some local data on a tablet etc. the setting are lost.
They are also not very flexible. Say I want a special dashboard (with multiple tabs) for a certain user, no matter where that user is logging in from, ant the user should only have access to that dashboard (but to all the tabs inside it). And no other users should have access to it (except admin). Such a basic thing is just not feasible to set up today.
But that is just a rant, and not really constructive feedback for Custom Header (which is great for what it does, it just does not solve all problems). So sorry about that.
mayker
(maykar (pronounced "maker" with a southern accent))
1029
I agree and this might be a good feature request for HA itself, but itâs also a good idea for another custom project (just not this one).
It wouldnât be difficult to create a custom âcardâ that would use JS templates (Jinja would be overkill) in order to redirect to any URL on certain conditions. I havenât done too much research into this and it might already exist or be possible with a feature on another custom project.
The ultimate issue with things like this is there is the possibility of users accidentally creating conditions on two dashboards that would redirect from one, back to the other, and then continuously looping between the two. Could also create a scenario where one dashboard would be inaccessible as the redirect would always be active, so every time you try to visit it you get redirected away. So some sort of protection against such things would be needed. Whether that is storing variables in localStorage or otherwise.
Hi,
Iâm sorry to ask what is probably a very noob question but I just havenât been able to figure it out for myself.
I have seen indications that Custom Header may allow me greater control over my Lovelace UI, specifically that I might be able to control the height and width of cards.
This would allow a level of control that I havenât been able to achieve by the use of vertical and horizontal stacks.
So, if anyone could help me out by giving any info that might help me get this ability in my UI, that would be so hugely appreciated.
My main reason is I want the same Lovelace UI to show differently depending on screen size of the device the user is using to view it.
Ah, I made an error.
Definitely coming back to this to try and make a stylised header later.
Thank you for the assist in locating the right resources.
Sorry for the mis-post.
Or if youâre dead set on it being on the left hand side and donât want it to be on the options button you could either put it on the menu button and tell HA to âAlways hide the sidebarâ or do something more advanced like this.