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 2020-01-21 12:38:38 +01:00 committed by GitHub
parent 41014d73be
commit fb35d382e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
89 changed files with 0 additions and 451 deletions

View file

@ -230,11 +230,6 @@ ENTITY_TYPES = {
}
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Legacy set up platform."""
pass
async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up Homekit fans."""
hkid = config_entry.data["AccessoryPairingID"]