Strategy Pack
First, what are Strategies?
A strategy is JavaScript code that gets executed to create Dashboards and Views automatically. They make it easy to have auto-populated Dashboards with next to no configuration!
You no longer need to painstakingly specify and order every entity and card on your Dashboard with thousands of lines of YAML!
More on them in the Home Assistant Documentation.
What does Strategy Pack do?
It provides a multitude of these Strategies! There’s even some that create whole Dashboards with all your entities neatly displayed!
But there are also some more specific Strategies if have found a need for in my personal Home Assistant Journey.
And I look forward to adding more. So feel free suggest new ones, or even make your own and submit a Pull Request!
Nice-looking Dashboard and all, but what’s special about this?
The clue is that a Strategy auto-generates everything. Meaning you do not need to list all entities and cards you want in some cumbersome way.
You can just let the Strategy work its magic with some few lines of YAML configuration or in some Strategies even no configuration at all!
And if you don’t like what you get in your Dashboard just read the detailed configuration documenation for every Strategy giving you the ability to customize next to everything!
The minimal configuration... | ... and the impressive result! |
---|---|
views: - strategy: type: custom:battery-view-strategy path: battery icon: mdi:battery-50 title: Battery | ![]() |
It looks like it needs a whole lot of space on the screen. Do I need a second Dashboard for my phone?
The Strategies are all fully responsive, meaning you can use all of them on Tablets and Phones as well! That`s just what i do!
Example of Responsiveness with Area Dashboard Strategy: