From 5af4cf97f04d2eaa4efbc0a99358ba1a9937eeb2 Mon Sep 17 00:00:00 2001 From: functionpointer Date: Wed, 27 Jan 2021 01:20:23 +0100 Subject: [PATCH] MySensors: Fix legacy import of persistence file name Turns out tests help to find bugs :D --- homeassistant/components/mysensors/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/mysensors/__init__.py b/homeassistant/components/mysensors/__init__.py index f1f139da857..55fcd41b9e0 100644 --- a/homeassistant/components/mysensors/__init__.py +++ b/homeassistant/components/mysensors/__init__.py @@ -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]