platypush/plugins/switchbot/__init__.py
def previous(self, device: str):
        """
        Send previous IR event to a device (for DVD and Speaker).

        :param device: Device name or ID.
        """
        device = self._get_device(device)
        return self._run('post', 'commands', device=device, json={
            'command': 'Previous',
            'commandType': 'command',
        })

        Send previous IR event to a device (for DVD and Speaker).

        :param device: Device name or ID.
        
Send previous IR event to a device (for DVD and Speaker).
Send previous IR event to a device ( for DVD and Speaker ) .
def previous(self, device: str):
        device = self._get_device(device)
        return self._run('post', 'commands', device=device, json={
            'command': 'Previous',
            'commandType': 'command',
        })
def previous ( self , device : str ) : device = self . _get_device ( device ) return self . _run ( 'post' , 'commands' , device = device , json = { 'command' : 'Previous' , 'commandType' : 'command' , } )
Send previous IR event to a device (for DVD and Speaker).
Send previous IR event to a device ( for DVD and Speaker ) .
"""
        Send previous IR event to a device (for DVD and Speaker).

        :param device: Device name or ID.
        """
self
device
str
Device name or ID.
Device name or ID .