platypush/plugins/zwave/mqtt/__init__.py
def add_node(self, do_security: bool = False, timeout: int = 60, **kwargs):
        """
        Start the inclusion process to add a node to the network.

        :param do_security: Whether to initialize the Network Key on the device if it supports the Security CC
        :param timeout: How long the inclusion process should last, in seconds (default: 60). Specify zero or null
            for no timeout.
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        """
        self._api_request('startInclusion', **kwargs)
        if timeout:
            Timer(timeout, lambda: self._api_request('stopInclusion', **kwargs)).start()

        Start the inclusion process to add a node to the network.

        :param do_security: Whether to initialize the Network Key on the device if it supports the Security CC
        :param timeout: How long the inclusion process should last, in seconds (default: 60). Specify zero or null
            for no timeout.
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        
Start the inclusion process to add a node to the network.
Start the inclusion process to add a node to the network .
def add_node(self, do_security: bool = False, timeout: int = 60, **kwargs):
        self._api_request('startInclusion', **kwargs)
        if timeout:
            Timer(timeout, lambda: self._api_request('stopInclusion', **kwargs)).start()
def add_node ( self , do_security : bool = False , timeout : int = 60 , ** kwargs ) : self . _api_request ( 'startInclusion' , ** kwargs ) if timeout : Timer ( timeout , lambda : self . _api_request ( 'stopInclusion' , ** kwargs ) ) . start ( )
Start the inclusion process to add a node to the network.
Start the inclusion process to add a node to the network .
"""
        Start the inclusion process to add a node to the network.

        :param do_security: Whether to initialize the Network Key on the device if it supports the Security CC
        :param timeout: How long the inclusion process should last, in seconds (default: 60). Specify zero or null
            for no timeout.
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        """
self
do_security
bool
Whether to initialize the Network Key on the device if it supports the Security CC
Whether to initialize the Network Key on the device if it supports the Security CC
timeout
int
None
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 ) .