Enable pylint unnecessary-pass (#33650)

* Enable pylint unnecessary-pass

* Process review suggestions

* Fix smhi tests
This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-04-05 10:33:07 +02:00
1 parent 000ad256fb
commit 7653dc947a
79 files changed
-349

No files matched your search

@@ -10,15 +10,6 @@ from .entry import TelldusLiveEntity
_LOGGER = logging.getLogger(__name__)
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Old way of setting up TelldusLive.
Can only be called when a user accidentally mentions the platform in their
config. But even in that case it would have been ignored.
"""
pass
async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up tellduslive sensors dynamically."""