def bcp_switch(self, name, state, **kwargs):
        if int(state):
            self.events.post('switch_' + name + '_active')
        else:
            self.events.post('switch_' + name + '_inactive')
List of registered :class:`Model`.
dataset/ETHPy150Open missionpinball/mpf/mpf/media_controller/core/media_controller.py/MediaController.bcp_switch--crossover with--dataset/ETHPy150Open lsbardel/python-stdnet/stdnet/odm/mapper.py/Router.registered_models