async def async_setup_platform(hass, config, add_entities, discovery_info=None):
    'Set up the platform.\n\n    Deprecated.\n    '
    _LOGGER.warning('Loading as a platform is no longer supported, convert to use the tplink component.')
Set up the platform.

Deprecated.
async def async_setup_platform(hass, config, add_entities, discovery_info=None):
    'Set up the platform.\n\n    Deprecated.\n    '
    _LOGGER.warning('Loading as a platform is no longer supported, convert to use the tplink component.')