Fix linting
This commit is contained in:
parent
7f27cc5468
commit
c792dd4126
2 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue