Merge same sensor / entities from two gateways

Hi,

I have a bunch of temperature nodes (e.g. LYWSD03MMC_2) and in each floor one esphome gateway (e.g. esphome_1 (floor1), esphome_2 (floor2)) gateway.

The configuration for the gateways looks like:

esphome:
  name: esphome_1
  platform: ESP32
  board: heltec_wifi_kit_32
sensor:
  - platform: xiaomi_lywsd03mmc
    mac_address: "A4:C1:38:12:34:56"
    bindkey: "mybindkey"
    temperature:
      name: "LYWSD03MMC_2 Temperature"
    humidity:
      name: "LYWSD03MMC_2 Humidity"
    battery_level:
      name: "LYWSD03MMC_2 Battery Level"
esphome:
  name: esphome_2
  platform: ESP32
  board: heltec_wifi_kit_32
sensor:
  - platform: xiaomi_lywsd03mmc
    mac_address: "A4:C1:38:12:34:56"
    bindkey: "mybindkey"
    temperature:
      name: "LYWSD03MMC_2 Temperature"
    humidity:
      name: "LYWSD03MMC_2 Humidity"
    battery_level:
      name: "LYWSD03MMC_2 Battery Level"

In Home Assistant I get two separate entities:

type: entities
entities:
  - sensor.lywsd03mmc_2_temperature
  - sensor.lywsd03mmc_2_temperature_2

Can I merge / combine the values of sensor.lywsd03mmc_2_temperature and sensor.lywsd03mmc_2_temperature_2. Because both enties are the same sensor.

I used this setup with two gateways and every sensor in both gateways to cover most of my space. So is it possible to merge the data of two entities?

Thanks a lot

Just disable one of the entities.

Did not work for me. If I disable for example "sensor.lywsd03mmc_2_temperature_2", no value is displayed for "sensor.lywsd03mmc_2_temperature".

"sensor.lywsd03mmc_2_temperature_2" and "sensor.lywsd03mmc_2_temperature" is the same pyhsical node. "sensor.lywsd03mmc_2_temperature_2" is located in floor 2 and read out via "esphome_2". "sensor.lywsd03mmc_2_temperature" is never (or very seldom) readout via "esphome_1".