platypush/plugins/zwave/mqtt/__init__.py
def remove_node_from_group(self, group_id: Optional[str] = None, node_id: Optional[int] = None,
                               endpoint: Optional[int] = None, **kwargs):
        """
        Remove a node from a group.

        :param group_id: Group ID.
        :param node_id: Node ID to be added.
        :param endpoint: Node endpoint to remove (default: remove node association).
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        """
        group = self._get_group(group_id, **kwargs)
        assoc = {'nodeId': node_id}
        if endpoint is not None:
            assoc['endpoint'] = endpoint

        self._api_request('removeAssociations', group['node_id'], group['index'], [assoc])

        Remove a node from a group.

        :param group_id: Group ID.
        :param node_id: Node ID to be added.
        :param endpoint: Node endpoint to remove (default: remove node association).
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        
Remove a node from a group.
Remove a node from a group .
def remove_node_from_group(self, group_id: Optional[str] = None, node_id: Optional[int] = None,
                               endpoint: Optional[int] = None, **kwargs):
        group = self._get_group(group_id, **kwargs)
        assoc = {'nodeId': node_id}
        if endpoint is not None:
            assoc['endpoint'] = endpoint
        self._api_request('removeAssociations', group['node_id'], group['index'], [assoc])
def remove_node_from_group ( self , group_id : Optional [ str ] = None , node_id : Optional [ int ] = None , endpoint : Optional [ int ] = None , ** kwargs ) : group = self . _get_group ( group_id , ** kwargs ) assoc = { 'nodeId' : node_id } if endpoint is not None : assoc [ 'endpoint' ] = endpoint self . _api_request ( 'removeAssociations' , group [ 'node_id' ] , group [ 'index' ] , [ assoc ] )
Remove a node from a group.
Remove a node from a group .
"""
        Remove a node from a group.

        :param group_id: Group ID.
        :param node_id: Node ID to be added.
        :param endpoint: Node endpoint to remove (default: remove node association).
        :param kwargs: Extra arguments to be passed to :meth:`platypush.plugins.mqtt.MqttPlugin.publish``
            (default: query the default configured device).
        """
self
group_id
Optional[str]
None
node_id
Optional[int]
Node ID to be added.
Node ID to be added .
endpoint
Optional[int]
Node endpoint to remove (default: remove node association).
Node endpoint to remove ( default : remove node association ) .
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 ) .