From 6352f10d9e0d7ddc428cf6da73cb839d3332fed1 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 19 Sep 2015 21:02:54 -0700 Subject: [PATCH] Device tracker minor tweak --- homeassistant/components/device_tracker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index d33d182dd2c..97c3d769715 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -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()]