Fix lint errors

pull/1864/merge
Paulus Schoutsen 2016-06-09 23:41:23 -07:00
parent b6d75e6c5a
commit 0dbc023f5b
1 changed files with 2 additions and 1 deletions
homeassistant/components

View File

@ -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