def setup_platform(self, hass, config, add_devices, discovery_info=None):
        if self._setup_platform is not None:
            self._setup_platform(hass, config, add_devices, discovery_info)
Setup the platform.
dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py/MockPlatform.setup_platform