Remove all empty *_setup_platform() from integrations (#31025)

* Remove all empty *_setup_platform() from integrations

* Fix tests for smartthings

* Fix tests for heos
This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-01-21 12:38:38 +01:00
1 parent 41014d73be
commit fb35d382e1
89 files changed
-451

No files matched your search

@@ -46,11 +46,6 @@ CLASS_MAPPING = {
STRICT_MATCH = functools.partial(ZHA_ENTITIES.strict_match, DOMAIN)
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Old way of setting up Zigbee Home Automation binary sensors."""
pass
async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up the Zigbee Home Automation binary sensor from config entry."""