From 3e9f2b82462c2ee8877d6bd4e47cb5bf3fe97eaa Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Fri, 7 Aug 2020 14:18:31 -0600 Subject: [PATCH] Remove unused async_setup_platform from HLK-SW16 switch (#38648) --- homeassistant/components/hlk_sw16/switch.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/homeassistant/components/hlk_sw16/switch.py b/homeassistant/components/hlk_sw16/switch.py index 9bd10ea765d..d2d6578cd90 100644 --- a/homeassistant/components/hlk_sw16/switch.py +++ b/homeassistant/components/hlk_sw16/switch.py @@ -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]