Fix linting

This commit is contained in:
Paulus Schoutsen 2016-09-01 09:12:42 +01:00
parent 7f27cc5468
commit c792dd4126
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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()