mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Fix pylint and flake issues
This commit is contained in:
@@ -30,7 +30,6 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
var_conf = config.get(CONF_MONITORED_VARIABLES)
|
||||
pins = config.get('pins', None)
|
||||
|
||||
|
||||
if resource is None:
|
||||
_LOGGER.error('Not all required config keys present: %s',
|
||||
CONF_RESOURCE)
|
||||
|
@@ -15,7 +15,7 @@ REQUIREMENTS = ['pywemo==0.3.2']
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# pylint: disable=unused-argument
|
||||
# pylint: disable=unused-argument, too-many-function-args
|
||||
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
||||
""" Find and return WeMo switches. """
|
||||
import pywemo
|
||||
|
Reference in New Issue
Block a user