

def setup_platform(self, hass, config, add_devices, discovery_info=None):
    'Setup the platform.'
    if (self._setup_platform is not None):
        self._setup_platform(hass, config, add_devices, discovery_info)

dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py MockPlatform.setup_platform/original