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
@@ -84,9 +84,10 @@ def setup(hass, config):
class InputBoolean(ToggleEntity):
"""Represent a boolean input."""
"""Representation of a boolean input."""
def __init__(self, object_id, name, state, icon):
""" Initialize a boolean input. """
"""Initialize a boolean input."""
self.entity_id = ENTITY_ID_FORMAT.format(object_id)
self._name = name
self._state = state