mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
MySensors: Use json persistence files by default
This commit is contained in:
@@ -141,7 +141,7 @@ async def _get_gateway(
|
||||
raise ValueError(
|
||||
"no unique id! either give configEntry for auto-extraction or explicitly give one"
|
||||
)
|
||||
persistence_file = data.get(CONF_PERSISTENCE_FILE, f"mysensors_{unique_id}.pickle")
|
||||
persistence_file = data.get(CONF_PERSISTENCE_FILE, f"mysensors_{unique_id}.json")
|
||||
# interpret relative paths to be in hass config folder. absolute paths will be left as they are
|
||||
persistence_file = hass.config.path(persistence_file)
|
||||
version = data.get(CONF_VERSION)
|
||||
|
Reference in New Issue
Block a user