mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Remove unused async_setup_platform from HLK-SW16 switch (#38648)
This commit is contained in:
parent
2d70df9776
commit
3e9f2b8246
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user