From 0dbc023f5b45932dde7ae9b5a2d75ad40a7106d7 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 9 Jun 2016 23:41:23 -0700 Subject: [PATCH] Fix lint errors --- homeassistant/components/input_slider.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/input_slider.py b/homeassistant/components/input_slider.py index 1e636238d55..b667854e59c 100644 --- a/homeassistant/components/input_slider.py +++ b/homeassistant/components/input_slider.py @@ -103,7 +103,7 @@ def setup(hass, config): class InputSlider(Entity): """Represent an slider.""" - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments, too-many-instance-attributes def __init__(self, object_id, name, state, minimum, maximum, step, icon, unit): """Initialize a select input.""" @@ -138,6 +138,7 @@ class InputSlider(Entity): @property def unit_of_measurement(self): + """Unit of measurement of slider.""" return self._unit @property