Group automations/scripts/scenes #8874
-
Is your feature request related to a problem? Please describe. Describe the solution you'd like Another dimension to this is that from a device/entity/integration etc, you could also provide the ability to display the automations related to that device/entity/integration. Describe alternatives you've considered |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 13 replies
-
Had an idea for this before but hadn't gotten around to doing a mockup yet, will share what I had in mind. Basically I think the system can and should handle everything here, where things would just work without any manual organization required on the users part. I think having the following three filters would handle like 95% of use cases:
This would make finding things super easy even if you had hundreds of automations. You'd be able to filter the list within just two clicks the majority of the time. These filters would also be tailored to the users personal setup too - if they didn't have any smart locks, lock wouldn't show up under the domain filter for example. So that would keep things clean and manageable. The challenging part would be figuring out a good filtering UI. I was thinking when the filter button is pressed, it would show these three filters as "chips" each on their own line, and you'd just horizontally scroll them. But that might not be ideal for users with very large setups that have dozens of integrations, domains, etc. From SeanPM5 Add Area From Bram |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@alex6480 Tags (rather than folders) would allow all options: things can be filtered visually or viewed globally (which might help see things when re-using) |
Beta Was this translation helpful? Give feedback.
-
What if we would add search folders and labels? A search folder could display automations based on user-defined criteria, while labels would provide a good way to actually tag the automation. Seems a bit too overcomplicated for me though. I would prefer simple folders as @alex6480 described. As long as you're able to create folders inside of another folder, there are basically like tags while keeping everything much more clean looking. |
Beta Was this translation helpful? Give feedback.
-
I would love the ability to group automations into categories of my choice like @alex6480's mockup. For example, I could create a category (or a "folder") where I put automations that has to do with my garage. |
Beta Was this translation helpful? Give feedback.
-
+1 for this. I'm approaching 50 automations and being able to sort them would be perfect |
Beta Was this translation helpful? Give feedback.
-
This is actually the one reason I have moved all my automations to Node-RED. Not because Home Assistant can't do the same things, but because it's much easier to organize them there. |
Beta Was this translation helpful? Give feedback.
-
I feel like this folders vs tags discussion has been going on a while. However, as it becomes easier and easier to manage automations in the frontend, the issue becomes more and more urgent. I really feel that we need some way to organize automations. Wether we use a folder or a tags logic might not be as important in the end. Has anyone tried implementing a version of this? I am not proficient enough in Python, but I would love to help in some way if I can. |
Beta Was this translation helpful? Give feedback.
-
The advantage of tags is the ability to add more than one. For example, you could add Living room and Light tag to automation, this way when filtering you will be able to filter all automations for the living room or all automations that interact with lights. |
Beta Was this translation helpful? Give feedback.
-
I don't really see why folders would be any better than tags. The ability to use multiple tags would be great. |
Beta Was this translation helpful? Give feedback.
-
Home Assistant 2021.4.0 adds filtering support to the automation list, which is more flexible. |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks to @frenck, (https://community.home-assistant.io/t/grouping-automations-on-frontend-for-organization/102771/120) I know that we can add automations to an area, Go to Devices & Services → Entities, search for automation. (yes, with the . dot) click on the automation and add it to the required area, after that you can use the filters in the automation list to filter for these. So works great for now as a workaround, But if this is already more or less implemented is it then not very easy, to add this option in the automation scripts, helper… pages? With guys like @bramkragten, @zsarnett in the team, this is probably a piece of cake to add to a new version. Seeing the focus in streamlining things, Streamlining Experiences - Home Assistant and the high vote rate for this in the community, it’s quite strange to me why this is not yet implemented. I don’t want to complain, nag about this and hope that this message is not received like this?, I really appreciate the great work you're doing and know that you all are very busy to make HA the best solution there is, and I can’t say thank you enough for that, but only hope that you can bring this back on the table and maybe can put this a little higher on the probably already enormous to-do list? The ultimate goal would be that we can create some kind of package in the UI, where we can see, in one overview, everything that's linked to that package. So for instance, school package One overview page with all the linked automations, scripts, helpers, templates, custom sensors so that we can easily see, edit in one view what's used for this process, something like this, I'm not a designer, developer but a specialist like @matthiasdebaat can probably even make it look good ;-) Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
I want to add to @dannymertens's post. If we look at multiple recent feedback posts from the community on Reddit (source1, source2), it is clear that the automation/script/helper organization problem is far from fixed. I, too, deeply appreciate the fact that Home Assistant exists, and provides the power and flexibility of home automation back to users. However, there is still huge potential for improvement to the UX. These improvements would bring in "less advanced" users and also reduce time spent by "advanced" users. Personally, as a somewhat capable user, being visually confronted with a scrollable vertical list of ~30 automations on entering the page is already intimidating. Correct me if I'm wrong, but there is some uncommunicated reason the popular request for user-defined tags/folders is not being considered. If so, could we discuss the limitations here? I'm happy to contribute towards a full solution to this problem. |
Beta Was this translation helpful? Give feedback.
Home Assistant 2021.4.0 adds filtering support to the automation list, which is more flexible.
https://www.home-assistant.io/blog/2021/04/07/release-20214/#filtering-automations-scripts-and-scenes