Skip to main content

Execute services clicking on sidebar items

· One min read
ElChiniNet
Developer of Custom Sidebar

Since the beginning it is possible to assign the href of a sidebar item specificing this property. This property is useful if one wants to go to a dashboard or open an external website when clicking on sidebar items. But since some time, it is also possible to execute a Home Assistant Service (renamed recently to Actions) if we specify the correct action in the on_click proprty of a sidebar item.

How to start with an empty sidebar

· One min read
ElChiniNet
Developer of Custom Sidebar

When you are going to create a configuration for a user, one possible approach is to start hiding the items that this user doesn't need. But what happens when we want to hide everything and just display a few items for that user? In would be a hassle to write item by item with a hide property. It is better if we hide everything and just show what we want visible.