-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional views based on labels; updated sorting of areas #141
base: main
Are you sure you want to change the base?
Conversation
…and then by name.
Feature/label extended views
label based icon
Feature/label extended views
enable label based areas
fix title for subview card if there are more than one entry per label
@AalianKhan, @DigiLive, are you interested in this feature? If so, I can resolve the conflicts to move it forward. |
I'm always interested in contributions. 😊 However, I've to share my limited free time over this and all other issues and PR's. It seems this PR contains multiple changes/additions:
This is against the Github-Flow which we apply to this repository: If possible, please close this PR and create a PR for each set of unrelated changes, so they can be reviewed and committed to the |
Important Requires Hass 2024.4.1 |
Update order for areas according to following priority
Split domain views
Since entities of different types belong to the same domain in home assistant, this can be a risk for the user.
E.g. window and shutters belongs both to the domain "cover". If I want to open all my shutters by a simple click, for example to prevent damage during a storm, I do not want to open my windows as well.

So in my opinion, users would have a huge benefit, if they can split them into separate views. User can reach this by add the entity to a label with a predefined prefix ms_domain_{{groupName}} (e.g. ms_cover_windows).
To make sure the controls still fits, the label name has to contain the correct same domain as its entry.
The {{groupName}} and the optional given icon in the label will be reused in the tab, navigation and as a name on the view.
Labeled entities are no longer grouped in the "default" view.
This solved this issue as well: #107
Order views incl. extra_views
Not only is it possible to order the new label-based views, but it is now also possible to set an order for extra_views. Solves #61, #139, #142
illustation.webm