diff --git a/homeassistant/components/mysensors/gateway.py b/homeassistant/components/mysensors/gateway.py index 1f9b96e6825..e7f97792493 100644 --- a/homeassistant/components/mysensors/gateway.py +++ b/homeassistant/components/mysensors/gateway.py @@ -232,6 +232,8 @@ async def _get_gateway( protocol_version=version, ) gateway.event_callback = event_callback + gateway.metric = hass.config.units.is_metric + if persistence: await gateway.start_persistence()