Enable pylint unnecessary-pass (#33650)
* Enable pylint unnecessary-pass * Process review suggestions * Fix smhi tests
This commit is contained in:
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."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user