Fix PEEP257 issues

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

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