MySensors: Fix legacy import of persistence file name

Turns out tests help to find bugs :D
This commit is contained in:
functionpointer
2021-01-27 01:20:23 +01:00
parent 67d4d68019
commit 5af4cf97f0

View File

@@ -140,6 +140,7 @@ async def async_setup(hass, config: ConfigType) -> bool:
CONF_TOPIC_IN_PREFIX: gw.get(CONF_TOPIC_IN_PREFIX),
CONF_RETAIN: config[CONF_RETAIN],
CONF_VERSION: config[CONF_VERSION],
CONF_PERSISTENCE_FILE: gw.get(CONF_PERSISTENCE_FILE)
# nodes config ignored at this time. renaming nodes can now be done from the frontend.
}
for gw in config[CONF_GATEWAYS]