Group multiple MQTT sensors as a device *without discovery*?

I have two MQTT sensors (A and B) that I would like to show up as a single device with two entities – is it possible to do this without using discovery?

I have this in my configuration but it doesn’t create a new device, just shows two sensors:

sensor:
  - platform: mqtt
    name: "A"
    state_topic: "/home/A"
    device:
        manufacturer: "Test"
        name: "Test name"
        identifiers: abc123
        model: testdev
    unique_id: "123abc"

  - platform: mqtt
    name: "B"
    state_topic: "/home/B"
    device:
        manufacturer: "Test"
        name: "Test name"
        identifiers: abc123
        model: testdev
    unique_id: "456abc"
1 Like

I’m doing the same thing with an Alarm. This worked for me:

# Manually configured MQTT entities
mqtt:
  - binary_sensor:
    - name: EntryMotion
      device_class: motion
      state_topic: "home/EntryMotion"
      payload_on: 1
      payload_off: 0
      unique_id: mysensor1
      device:
        identifiers: HouseAlarm-ID
        name: HouseAlarm
    - name: RumpusMotion
      device_class: motion
      state_topic: "home/RumpusMotion"
      payload_on: 1
      payload_off: 0
      unique_id: mysensor2
      device:
        identifiers: HouseAlarm-ID
        name: HouseAlarm