Fix PEEP257 issues

This commit is contained in:
Fabian Affolter committed 2016-03-08 17:55:57 +01:00
1 parent d784610c52
commit b534244e40
42 files changed
+335 -308

No files matched your search

+3 -2
View File
@@ -90,10 +90,11 @@ def setup(hass, config):
class InputSelect(Entity):
"""Represent a select input."""
"""Representation of a select input."""
# pylint: disable=too-many-arguments
def __init__(self, object_id, name, state, options, icon):
""" Initialize a select input. """
"""Initialize a select input."""
self.entity_id = ENTITY_ID_FORMAT.format(object_id)
self._name = name
self._current_option = state