Device tracker minor tweak

This commit is contained in:
Paulus Schoutsen 2015-09-19 21:02:54 -07:00
parent 2a3b911d7b
commit 6352f10d9e

View File

@ -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()]