def METHOD_NAME(self, phases_to_use: int, duration: int) -> None:
    with SingleComponentUpdateContext(self.component_info, False):
        with self.__client_error_context:
            pub.pub_single(
                f"openWB/set/internal_chargepoint/{self.config.configuration.duo_num}/data/phases_to_use",
                phases_to_use,
                self.config.configuration.ip_address)
            pub.pub_single(
                f"openWB/set/internal_chargepoint/{self.config.configuration.duo_num}/data/trigger_phase_switch",
                True,
                self.config.configuration.ip_address)
            pub.pub_single("openWB/set/isss/U1p3p", phases_to_use,
                           self.config.configuration.ip_address)
            time.sleep(6+duration-1)