Remove unused async_setup_platform from HLK-SW16 switch (#38648)

pull/37467/head
James Hilliard 2020-08-07 14:18:31 -06:00 committed by GitHub
parent 2d70df9776
commit 3e9f2b8246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -7,10 +7,6 @@ from .const import DOMAIN
PARALLEL_UPDATES = 0
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Set up the HLK-SW16 switches."""
def devices_from_entities(hass, entry):
"""Parse configuration and add HLK-SW16 switch devices."""
device_client = hass.data[DOMAIN][entry.entry_id][DATA_DEVICE_REGISTER]