mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Fix mysensors metric/non-metric gateway (#58476)
This commit is contained in:
parent
777589cdcc
commit
8b021ea06b
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user