@itsteddyyo thanks for you reply! i made it!!!
Heya, no that is not possible as a dashboard strategy needs to be the one creating the dashboard itself Only view strategies can be inserted in views.
But the area-dashboard-strategy has a config option âextraViewsâ and with that you could pass your existing views to the dashboard
Like this:
strategy:
type: custom:area-dashboard-strategy
config:
...other options
extraViews:
- ...your views
- strategy: #just an example
type: custom:battery-view-strategy
icon: mdi:test
path: test
title: Test
Thank you for clarifying the views.
Going back to sorting the areas, I see we can create labels sort:1, sort:2, etc. and the dashboard populates accordingly. In my demo environment, i added the sort labels to get it to be in alphabetical order.
If we have many areas, however, how would you recommend sorting it in alphabetical order and maintaining it when we add areas in the future.
Ex: GYM (sort:1) POOL (sort:2)
Future add BAR (sort:1) ?
Additionally, is it possible to sort by floors?
You would need to change the labels assigned to each area I think that´s an okay compromise as that probably wonât happen too much
If you only want to sort alphabetically just wait a little. Iâm currently working on a big refactor that would among other things allow that. Thereâs gonna be a few breaking changes but im pretty pleased with the new design and many caveats and impossibilities of v1 will be improved and the whole configuration will hopefully be more user-friendly
Currently there is no support for floors but if you want you can open a feature request (Open Feature Request) and describe how you think the solution should look like
That sounds great, looking forward to it! Thank you again for the feedback.