mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Device tracker minor tweak
This commit is contained in:
parent
2a3b911d7b
commit
6352f10d9e
@ -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()]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user