Fix linting
This commit is contained in:
1 parent
7f27cc5468
commit
c792dd4126
2 files changed
+2
-1
No files matched your search
@@ -150,6 +150,7 @@ def trigger(hass, entity_id=None):
|
||||
|
||||
def setup(hass, config):
|
||||
"""Setup the automation."""
|
||||
# pylint: disable=too-many-locals
|
||||
component = EntityComponent(_LOGGER, DOMAIN, hass)
|
||||
|
||||
success = False
|
||||
|
||||
@@ -85,7 +85,7 @@ def trigger(hass, config, action):
|
||||
def remove():
|
||||
"""Remove state listeners."""
|
||||
unsub()
|
||||
|
||||
# pylint: disable=not-callable
|
||||
if remove_state_for_cancel is not None:
|
||||
remove_state_for_cancel()
|
||||
|
||||
|
||||
Reference in new issue
Block a user