I’m new to HA and have created various groups in Helper. How do I edit those groups in yaml?
I’ve installed File Editor but I can’t find any of the groups I have created in Helper. I’ve looked in configuration.yaml and I don’t appear to have a groups.yaml file.
They work the same but as @Didgeridrew said, groups in the UI can only be managed in the UI. Groups in groups.yaml can only be edited in groups.yaml.
I have both. I defined my upstairs and downstairs lights and switches groups in the UI, and in my groups.yaml I defined an all lights group, which is itself a group of groups.
I also have a mixture of UI and YAML groups. Typically, groups of groups go in YAML, and other groups (locks, switches, etc) all go through the UI (for quick changes where I don’t want to drop down to the file system).
I also prefer the yaml groups, because they show the individual group member states in the UI when you click on them. That is so much more useful then the UI ones, who hide the info.