#Custom Card with Layout and Visibility Tab

1 messages · Page 1 of 1 (latest)

granite plover
#

I want to build a custom card for my dashboard and I am using this blog post with Lit as a basis but I can't figure out how I would create a card that supports the Visibility Tab and Layout Tab for section dashboards.

Is there a minimalistic example I could use or a proper documentation for this?

Dashboards are our approach to defining your user interface for Home Assistant. We offer a lot of built-in cards, but you're not just limited to the ones that we decided to include in Home Assistant. You can build and use your own!

tranquil fulcrum
#

You don't have to! Those tabs are automatically included in the GUI editors of Home Assistant cards, including custom cards. You don't have to implement their behavior in your cards either, that's also native to Home Assistant cards and is applied in a parent element to your custom card.

Edit: You DO have to create a GUI editor for your cards though.