platypush/plugins/zwave/mqtt/__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.
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        """
        self.set_value(data=False, id_on_network=device, **kwargs)

        Turn off a switch on a device.

        :param device: ``id_on_network`` of the value to be switched off.
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        
Turn off a switch on a device.
Turn off a switch on a device .
def off(self, device: str, *args, **kwargs):
        self.set_value(data=False, id_on_network=device, **kwargs)
def off ( self , device : str , * args , ** kwargs ) : self . set_value ( data = False , id_on_network = device , ** kwargs )
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.
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        """
self
device
str
``id_on_network`` of the value to be switched off.
` ` id_on_network ` ` of the value to be switched off .
kwargs
Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
(default: query the default configured device).
Extra arguments to be passed to : meth : ` platypush . plugins . mqtt . MqttPlugin . publish ` ` ( default : query the default configured device ) .