def METHOD_NAME(self):
    """Called when Output is stopped."""
    if self.is_setup():
        for channel in channels_dict:
            if self.options_channels['state_shutdown'][channel] == 1:
                self.output_switch("on", output_channel=channel)
            elif self.options_channels['state_shutdown'][channel] == 0:
                self.output_switch("off", output_channel=channel)
        self.logger.debug(f"List sent to device: {dict_states}")
    self.running = False