def __new__(self):

        log('Auto-discovering Environmental Controller.')
        try:
            envcontroller = Tosr0xEnvController()
            log('Tosr0x Environmental Controller detected.')
            return envcontroller
        except DeviceError:
            log('No Tosr0x Environmental Controllers detected.')
        log.error(
            'No compatible Environmental Controllers detected. '
            'Using Dummy device.')
        return(DummyEnvController())
Return an instance of the first subclass of
dataset/ETHPy150Open amorphic/braubuddy/braubuddy/envcontroller/auto.py/AutoEnvController.__new__