Great ideas @wailingserpent@Fugazzy. Iāve been using a fully kiosk service call to reload the browser to the proper URLs. This works fine, but it requires fkb obviously, and is a bit clunky with a full page reload everytime. Thanks!
Jose - Just found this card and slowly integrating it. So far itās been very effective and Iāve found the docs / forum post answering most questions.
Apologies but JST is a bit new to me and whilst you have answered an earlier post for triggering a badge based on 2 differing entity states I canāt seem to fathom out the correct syntax.
If I use these individually I get a correct badge :-
badge:
show: >
[[[ return states[āinput_select.housemodeā].state === āAwayā ]]]
or
badge:
show: >
[[[ return states['āinput_boolean.modeā].state === āonā ]]]
But Iām not able to correctly put these together to get a badge if 1 OR the other is valid.
Any chance you can ālinkā them correctly so I can understand what Iāve missed.
Many thanks
UPDATE - found my error. It should be as follows (iād repeated the return in the 2nd entity portion).
Has anyone found a way to trigger a logout from a Navbar card button?
I have tried many different variations of calling the url discussed in this post:
But id doesnāt seem to work. It just doesnāt go anywhere. If I load that directly into the url bar of the browser, it does bring me to the login screen and the user seems to be logged out (although I donāt think they really are because you can just click the back button and you are still authenticated).
I am building a ākioskā so I would really like a way to logout the limited Kiosk user, and jump into my admin account if I need to.
Iām wondering if I am missing something. I want to display the background for the popup labels for readability. When I add this line: show_popup_label_backgrounds: true
the background shows up but the justification changes so the icons are now on the left side rather than the right. Iād like the icons to be on the right.
This is such a nice card!
Can you maybe help me out with this (and perhaps put this in an example on github)?
I added a button for the path to updates and want to add the ācountā to the badge. I can do it in YAML:
{{ states.update.state === 'on') | list | count }}
I tried a lot of code and ended up with something like this, but it doesn;'t work:
I am wanting to save my navbar as a template to easily reuse on mulitple dashboard views. Is it that within the card configuration I select āshow code editorā and then add the code right at the top in the first line? Thanks!
Iām new to Navbar, I canāt for the life of me figure out how to add templates to my configuration. Iām not sure if Iām mis-reading the instructions, or if thereās actually something wrong with my home assistant instance.
Iām currently trying to add it to āconfiguration.yamlā. When I do so, I get a warning in the Developer Tools YAML section saying that there is no integration named ānavbar-templates.ā
Am I supposed to be adding the template section to my āconfiguration.yamlā file? And is there a specific area of the file Iām supposed to be adding it to? If not there, where am I supposed to be putting this?
Sorry i am sure i am missing something very obvious, this looks great but now i have added it i cant see where i can go back in and edit it via the gui?
Thank you very much @joseluis9595 for this card!! Really enjoying it!!!
A question for you as well - is it possible to make a hover effect like this, when the background covering both icon and label, if you understand what Iām trying to say ā¦?
I have used the navbar card and am very satisfied with it. Now I would like to hide the standard toolbar (the blue bar at the top). However, I would still like to be able to use the options in it via the navbar (if the logged-in person has admin rights).
Has anyone done this before? How did you manage it?
For the life of me, I cannot figure out how to create & save a navbar-templates template while using the UI for managing and editing dashboards ā even if I use the Raw Configuration Editor option through the Dashboard Management UI. It would seem that the majority of folks have figured this out; can someone please help me? This example yaml doesnāt make sense because itās not a valid dashboard. HA complains about the missing view top-level attribute. (Plus, the example here doesnāt include a name for the navbar-template template, but I can handle that.) What is shown here appears to be "create a new Dashboard, use the Raw Configuration Editor to replace the entire contents of the dashboard, and save the template. That would be easy, albeit confusing, except that HA wonāt save this example as it exists. Attempting to save this yaml results in HA reporting an error message of: Your configuration is not valid: a: At path: views -- Expected an array value, but received: undefined