mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix linting
This commit is contained in:
parent
7f27cc5468
commit
c792dd4126
@ -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…
x
Reference in New Issue
Block a user