mirror of
https://github.com/home-assistant/core.git
synced 2026-07-26 07:55:35 +01:00
734bd75fd3
GATEWAYS was a dict, so would overwrite item if key was the same. This would happen when using multiple MQTT gateways, since the device id is the same (`mqtt`). * Fix by changing GATEWAYS from dict into list. * Use hass data to store mysensors gateways instead of having GATEWAYS be a global.