mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Update default MySensor persistence file path
This commit is contained in:
parent
5d3d2d4110
commit
452348a7f9
@ -76,7 +76,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
persistence = config.get(CONF_PERSISTENCE, True)
|
persistence = config.get(CONF_PERSISTENCE, True)
|
||||||
persistence_file = config.get(CONF_PERSISTENCE_FILE, 'mysensors.pickle')
|
persistence_file = config.get(CONF_PERSISTENCE_FILE,
|
||||||
|
hass.config.path('mysensors.pickle'))
|
||||||
version = config.get(CONF_VERSION, '1.4')
|
version = config.get(CONF_VERSION, '1.4')
|
||||||
|
|
||||||
gateway = mysensors.SerialGateway(port, sensor_update,
|
gateway = mysensors.SerialGateway(port, sensor_update,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user