Node-red not seeing device that was readded to the network

Hi,
I’m using HA with zigbee2mqtt and node red.
I’m in process of installing / testing aqara wall switches.
I had a node-red flow - simple “action + log debug” to capture switches actions. Switch name was LS_1_K_Door. I’m using this naming convention with all devices.

I wanted to test decoupled mode and its behaviour when HA fails - so i “resynchronized” the switch - which causes it to go from decoupled mode back to normal “control power” mode when HA is not present - which is great.

But… once i got it to rejoin HA/Zigbee2MQTT - it was recognized with the same name, however flow in Node-Red no longer works. I removed old flow, restarted HA server, created a new one - old name still shows on the list of available devices, however there is no reaction on button presses.

In log i found the following:
31 Jan 11:01:01 - [debug] [server-state-changed:Hall05 tapped] instantiated node, name: Hall05 tapped
31 Jan 11:01:01 - [debug] [server-state-changed:Hall1] instantiated node, name: Hall1
31 Jan 11:01:01 - [debug] [server-state-changed:Hall15 tapped] instantiated node, name: Hall15 tapped
31 Jan 11:01:01 - [debug] [server-state-changed:e7cdb4299cd6f942] instantiated node, name: undefined
31 Jan 11:01:01 - [debug] [server-state-changed:67e3614423547c99] instantiated node, name: undefined

first 3 entries clearly refer to other switches that were put into decoupled mode and they have right naming. Last two entries refer to switch i readded ( two buttons ) but name is wrong.

My programming gut tells me that there is a local database of zigbee nodes that node-red caches and i have to refresh it somehow. Does anyone know how ?

Thanks for help