mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Device tracker minor tweak
This commit is contained in:
@@ -352,7 +352,7 @@ def load_config(path, hass, consider_home):
|
||||
Device(hass, consider_home, device.get('track', False),
|
||||
str(dev_id).lower(), str(device.get('mac')).upper(),
|
||||
device.get('name'), device.get('picture'),
|
||||
device.get(CONF_AWAY_HIDE, False))
|
||||
device.get(CONF_AWAY_HIDE, DEFAULT_AWAY_HIDE))
|
||||
for dev_id, device in load_yaml_config_file(path).items()]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user