Fix PEEP257 issues
This commit is contained in:
1 parent
d784610c52
commit
b534244e40
42 files changed
+335
-308
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user