How can I group entities or assign devices?

Now I have finally managed to read two sensor values (energy consumption in kWh and voltage in V) via Modbus RTU.
Two entities have been created, which are completely detached from each other in HA. They are not assigned to any device and are not related.
But they both come from a three-phase meter. But I have 4 pieces of it. And I would like to read dozens of sensors/entities for every three -phase meter. But I want to be able to distinguish them better. It is best to be assigned to a device or a device group (meter-1, meter-2 …).
Can I control this in the configuration.yaml via any parameters or how can I do this.
Here is the content of modbus-configuration:

# Modbus Integration
  - name: Modbus-RTU-USB-Adapter
    type: serial
    port: /dev/ttyUSB0
    baudrate: 9600
    bytesize: 8
    method: rtu
    parity: N
    stopbits: 1
    delay: 0
    message_wait_milliseconds: 30
    timeout: 5
      - name: "Active Total Energy"
        unique_id: BGDS100_01_01
        device_class: energy
        scan_interval: 10
        slave: 2
        address: 0x122
        input_type: input
        unit_of_measurement: kWh
        state_class: total
        scale: 0.01
        #offset: 0
        precision: 2
        data_type: int32
        #count: 2
      - name: "Modbus_Spannung_Phase_A"
        unique_id: BGDS100_01_02
        device_class: voltage
        scan_interval: 10
        slave: 2
        address: 0x400
        input_type: input
        unit_of_measurement: V
        state_class: measurement
        scale: 0.001
        #offset: 0
        precision: 2
        data_type: int32
        #count: 2

Vielleicht könnt Ihr mir helfen?