@staticmethod
    def _switch(command):
        _LOGGER.info('Running command: %s', command)

        success = (subprocess.call(command, shell=True) == 0)

        if not success:
            _LOGGER.error('Command failed: %s', command)

        return success
Compute s**n, where s is a raw mpf and n is a Python integer.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/command_line.py/CommandSwitch._switch--crossover with--dataset/ETHPy150Open fredrik-johansson/mpmath/mpmath/libmp/libmpf.py/mpf_pow_int