platypush/plugins/zwave/__init__.py
def off(self, device: str, *args, **kwargs):
        """
        Turn off a switch on a device.

        :param device: ``id_on_network`` of the value to be switched off.
        """
        # noinspection PyUnresolvedReferences
        switches = self.get_switches().output
        assert device in switches, 'No such id_on_network associated to a switch: {}'.format(device)
        return self.set_value(data=False, id_on_network=device)

        Turn off a switch on a device.

        :param device: ``id_on_network`` of the value to be switched off.
        
Turn off a switch on a device.
Turn off a switch on a device .
def off(self, device: str, *args, **kwargs):
        switches = self.get_switches().output
        assert device in switches, 'No such id_on_network associated to a switch: {}'.format(device)
        return self.set_value(data=False, id_on_network=device)
def off ( self , device : str , * args , ** kwargs ) : switches = self . get_switches ( ) . output assert device in switches , 'No such id_on_network associated to a switch: {}' . format ( device ) return self . set_value ( data = False , id_on_network = device )
Turn off a switch on a device.
Turn off a switch on a device .
"""
        Turn off a switch on a device.

        :param device: ``id_on_network`` of the value to be switched off.
        """ # noinspection PyUnresolvedReferences
self
device
str
``id_on_network`` of the value to be switched off.
` ` id_on_network ` ` of the value to be switched off .