def METHOD_NAME(self):
    """Called when Output is stopped."""
    if self.is_setup():
        if self.options_channels['state_shutdown'][0] == 1:
            self.output_switch('on')
        elif self.options_channels['state_shutdown'][0] == 0:
            self.output_switch('off')
    self.running = False