2 rdm6300 on one esp32 - device identifier

Hello,

support for multiple rdm6300 was recently added and i just tried and it works like a charm.
But now i have the problem all tags have the same device identifier.
Is it possible to get home assistant to identify from which reader the tag was scanned using api?
Or somehow get another id for second reader?

Here is what ha shows:

event_type: tag_scanned
data:
  tag_id: "123456789"
  device_id: 123456789012345678901234567
origin: LOCAL
time_fired: "2022-11-08T09:19:58.115206+00:00"
context:
  id: 123456789012345678901234567
  parent_id: null
  user_id: null

thanks christian

Hoi, I add a name after the lambda string, font door, back door, or something else. I spit it in a script.

rdm6300:
  - id: rdm1
    uart_id: uart_1
    on_tag:
      then:
        - homeassistant.tag_scanned: !lambda 'return to_string(x)+"front door";'

I created a post to show how I managed to get this to work. I’m replying and linking it here because I found this thread when trying to figure it out.