Villhellm / custom-sidebar

Custom Sidebar for Home Assistant
115 stars 23 forks source link

Enhancement request #9

Closed IanAdd closed 4 years ago

IanAdd commented 4 years ago

Could you add a name: option to allow the item: found to be displayed with a different name. For example I have phpMyAdmin showing in my sidebar because I use Mariadb. I would like the sidebar to show 'MariaDb' instead of 'phpMyAdmin'. So I imagine the entry might be (if this was achievable)

order:
  - item: php
    name: MariaDb
    bottom: true
IanAdd commented 4 years ago

You can ignore me, I found a solution

  - new_item: true
    item: MariaDb
    href: /a0d7b954_phpmyadmin
    icon: mdi:database
  - item: php
    hide: true
Villhellm commented 4 years ago

No, it’s a good suggestion. One that I’ve been thinking about adding, but I haven’t had a request for it yet. I should be able to get to it within the week

Villhellm commented 4 years ago

Okay, the latest beta release adds this option. Please let me know if it's working the way you expect

IanAdd commented 4 years ago

Forgive my naivity but how do I select a beta version. I used HACS to install and it isn't offering me a newer version than 0.1.5 which I have installed.

Villhellm commented 4 years ago

If you go to the front end tab in HACS and find the card for custom-sidebar, click the three dot button it will give you an option to reinstall. Click that and switch the toggle at the top on, that will allow you to select a prerelease

IanAdd commented 4 years ago

You learn something every day !! Done that and it works as expected.

Thanks !!

Villhellm commented 4 years ago

Cool, let me know if you run into any issues with it