Multiple physical devices listed as a single device in MQTT

Im using an RTL-SDR and RTL_433 HA addon to pull in RF from various remotes/sensors into MQTT. Its working great for my leak sensors, door sensors, doorbell etc. Im using the EV1527 Universal Remote.conf to decode a couple of my remotes.

The problem is that the multiple physical remotes appear as a single device in MQTT; but they have different codes (see screenshots from MQTT below, each image from a different physical remote):


Screenshot 2024-08-14 163251

Im trying to setup a sensor in my config.yaml using the topic rtl_433/2eac6316-rtl-433/devices/EV1527-Remote/button but that wont distinguish between the two physical remotes. There are apparently atleast 3 ways to solve this but i have been struggling for a week to make any of them work:

  1. in the EV1527.conf it says “The shown example can distinguish between multiple remotes (two in this case). If this is not desired, a simple “match=abcde” can limit the detection of one unique EV1527 code.” however any way I try to apply this seems to make the decoder stop working.

  2. apparently I can assign a unique client ID to the two different remotes (codes) so that they have unique topics coming out of MQTT but I have not been able to make this work.

  3. apparently I can do something with json as part of the config.conf as part of the sensor to only apply to a specific code or something but honestly this is so far over my head its my last resort.

Hoping this community can come to my rescue!

Maybe of help.