platypush/plugins/switch/wemo/__init__.py
def toggle(self, device: str, *args, **kwargs):
        """
        Toggle a device on/off state

        :param device: Device name or address
        """
        device = self._get_address(device)
        WemoRunner.toggle(device)
        return self.status(device)

        Toggle a device on/off state

        :param device: Device name or address
        
Toggle a device on/off state
Toggle a device on / off state
def toggle(self, device: str, *args, **kwargs):
        device = self._get_address(device)
        WemoRunner.toggle(device)
        return self.status(device)
def toggle ( self , device : str , * args , ** kwargs ) : device = self . _get_address ( device ) WemoRunner . toggle ( device ) return self . status ( device )
Toggle a device on/off state
Toggle a device on / off state
"""
        Toggle a device on/off state

        :param device: Device name or address
        """
self
device
str
Device name or address
Device name or address