ESPHome integration: the „Keys per node“ field only keeps one line

Hello,

I am configuring the ESPHome integration of Gladys (native API). My ESPHome runs in a separate Proxmox container (CT), and it works for most of my devices: for example, my Velux shutter (ESP8266) is well discovered and controllable from Gladys.

My difficulty concerns the registration of the « Keys per Node » field. Each of my devices has its own encryption key, so I need several lines in the format name|key, as described in the documentation (one node per line).

Here is what I observe:

When I paste several lines at once, only the first one is taken into account.
When I save a first line, then enter a second one in the field (which appears empty), the first one is erased.
Since the field is hidden (secret type), I cannot read what is saved.

Result: in the logs, the nodes whose key has not been taken into account go into error

My questions:

How to enter several lines in this field? Is there a special key or separator (Shift+Enter, other)?
Is this the expected behavior of the secret field, or a bug?
In the meantime, is the only solution to use the same key on all devices (global key)?
Do I have to reflash all my nodes (19)?

Useful information:

Version of Gladys: 5.3.0
ESPHome integration: Version 1.3.0
Browser used: firefox
Devices: ESP8266 and ESP32 under ESPHome [version], all on the same local network

Thanks in advance for your help!