Disable no-self-use [pylint] (#70641)

* Disable no-self-use

* Remove disable comments
This commit is contained in:
Marc Mueller 2022-04-25 16:41:01 +02:00 committed by GitHub
parent 9dcbc8469e
commit 9b9b553521
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 14 additions and 64 deletions

View file

@ -36,7 +36,7 @@ class PilightDaemonSim:
def __init__(self, host, port):
"""Init pilight client, ignore parameters."""
def send_code(self, call): # pylint: disable=no-self-use
def send_code(self, call):
"""Handle pilight.send service callback."""
_LOGGER.error("PilightDaemonSim payload: %s", call)
@ -51,7 +51,7 @@ class PilightDaemonSim:
self.callback(self.test_message)
self.called = True
def stop(self): # pylint: disable=no-self-use
def stop(self):
"""Handle homeassistant.stop callback."""
_LOGGER.error("PilightDaemonSim stop")