HA event fires with one ESPHome device, but not with a copy of it

I have a ESP32-C3 mini successfully integrated in ESPHome in HA.
Device shows as ONLINE in ESPHome. OTA Updates no problem.
This ESP32 has a Wiegand reader attached. Works very nicely:

wiegand:
  - id: mykeypad
    d0: GPIO0
    d1: GPIO1
    on_tag:
      - homeassistant.event: 
          event: esphome.doortag
          data:
            door: !lambda 'return id(doornum);'
            number: !lambda 'return to_string(x);'
            type: "tag"
  

Works very nicely. I receive the event in HA and can work with it.

Now I have duplicated the ESP32-C2, different IP address, same WIFI network, all the same. Device shows also as ONLINE in ESPhome and the ESP Log screen shows that a tag has been scanned.

Just: The event is either not fired or not received! In the event listener I see the events from device one, but not from device two. Absolute silence. It is as if there is some kind of firewall or so which blocks the event from the duplicated device to arrive.

Any hint?

You might want to post the esphome log…

Found the solution myself, thanks.
The problem was that if you just copy an ESP32 device it is missing in http://homeassistant.local:8123/config/integrations/integration/esphome.
So after duplicating a device and adapting it in ESPHome Builder, you then need to go to the integrations, select ESPHome and add the devices. Then in “configure” you can allow event communication…