I have two Gateways in one network (and in one building). So, if I setup this gateways with different names, HomeAssistant give one device with two MQTT-topics. And the HomeAssistant receives one device with two different MQTT-topics. The HomeAssistant does not work correctly.
If I set same name to both gateways, they appear in the HomeAssistant as one device. Also wrong.
Now I have one setting for both "the gateway name" and "the name of the MQTT-topic", where messages from sensors are sent.
I propose to make two different settings: one for the name of the gateway itself, and the second for the MQTT-topic, to which messages from sensors will be sent.