def tasklogic(self):
        
        # e.g. This is the first step
        self.count += 1
        yield self.count
            
        # e.g. Second step
        self.count += 1
        yield self.count
            
        # e.g. Series of steps as an iteration
        while self.count < 7:
            yield self.count
            self.count += 1

        # e.g. Final step
        self.count += 1
        yield self.count
Send media pause command to media player.
dataset/ETHPy150Open ejeschke/ginga/ginga/misc/tests/test_Task.py/stepTask.tasklogic--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/panasonic_viera.py/PanasonicVieraTVDevice.media_pause