From e23db5d972101358d93539f4fa229995ba88b6bc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 7 Feb 2016 12:03:01 +0100 Subject: [PATCH] Some small changes --- homeassistant/components/proximity.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/proximity.py b/homeassistant/components/proximity.py index fa621df16ca..31ff3b5d081 100644 --- a/homeassistant/components/proximity.py +++ b/homeassistant/components/proximity.py @@ -47,7 +47,7 @@ def setup(hass, config): # pylint: disable=too-many-locals,too-many-statements for variable in config[DOMAIN]['devices']: proximity_devices.append(variable) - # Gget the direction of travel tolerance from configuration.yaml + # Get the direction of travel tolerance from configuration.yaml tolerance = config[DOMAIN].get('tolerance', DEFAULT_TOLERANCE) # Get the zone to monitor proximity to from configuration.yaml @@ -75,7 +75,6 @@ def setup(hass, config): # pylint: disable=too-many-locals,too-many-statements track_state_change(hass, proximity_devices, proximity.check_proximity_state_change) - # Tells the bootstrapper that the component was successfully initialized return True @@ -102,7 +101,7 @@ class Proximity(Entity): # pylint: disable=too-many-instance-attributes @property def unit_of_measurement(self): - """ Unit of measurement of this entity """ + """ Unit of measurement of this entity. """ return "km" @property