Grouping MQTT Entities

Hello,

so before the newest update I could configure groups manually in for example my switch or sensor file. This doesn’t seem to work anymore. I know I can create groups via Helper but I don’t want to.

I’m trying to group several sensors and it really is a bit of a hassle to pick the entities in the UI. It was much faster in yaml.
I’m pretty sure it’s still possible and I’m just missing something so can you point me to how you grouped your mqtt entities?

Can you show what you were doing, before the update?

Sorry Tom, gotta take that back. Not sure why it suddenly works. Earlier when I tried it it kept sending me errors that it couldn’t load my groups. I just tried it again the same way I tried it before (in switch.yaml) and suddenly there are no errors. I wonder where I went wrong.

So I split my config. All my Sensors, Switches etc. are in separate files.
Before the update mqtt Sensors would be configured in those respective files.
In my Switch file I grouped the switches like this:

- platform: group
  name: "Ventile"
  entities:
      - switch.w01_mqtt_alarm10
      - switch.w01_mqtt_alarm11
      - switch.w01_mqtt_alarm1_1
      - switch.w01_mqtt_alarm1_2
      - switch.w01_mqtt_alarm2
      - switch.w01_mqtt_alarm3
      - switch.w01_mqtt_alarm4
      - switch.w01_mqtt_alarm5
      - switch.w01_mqtt_alarm5_2
      - switch.w01_mqtt_alarm6
      - switch.w01_mqtt_alarm7
      - switch.w01_mqtt_alarm8
      - switch.w01_mqtt_alarm9  

I’m quite confused.