platypush/plugins/zwave/__init__.py
def create_button(self, button_id: Union[int, str], node_id: Optional[int] = None, node_name: Optional[str] = None):
        """
        Create a handheld button on a device. Only intended for bridge firmware controllers.

        :param button_id: The ID of the button.
        :param node_id: Filter by node_id.
        :param node_name: Filter by current node name.
        """
        node = self._get_node(node_id=node_id, node_name=node_name)
        self._get_controller().create_button(node.node_id, button_id)
        self.write_config()

        Create a handheld button on a device. Only intended for bridge firmware controllers.

        :param button_id: The ID of the button.
        :param node_id: Filter by node_id.
        :param node_name: Filter by current node name.
        
Create a handheld button on a device. Only intended for bridge firmware controllers.
Create a handheld button on a device . Only intended for bridge firmware controllers .
def create_button(self, button_id: Union[int, str], node_id: Optional[int] = None, node_name: Optional[str] = None):
        node = self._get_node(node_id=node_id, node_name=node_name)
        self._get_controller().create_button(node.node_id, button_id)
        self.write_config()
def create_button ( self , button_id : Union [ int , str ] , node_id : Optional [ int ] = None , node_name : Optional [ str ] = None ) : node = self . _get_node ( node_id = node_id , node_name = node_name ) self . _get_controller ( ) . create_button ( node . node_id , button_id ) self . write_config ( )
Create a handheld button on a device.
Create a handheld button on a device .
"""
        Create a handheld button on a device. Only intended for bridge firmware controllers.

        :param button_id: The ID of the button.
        :param node_id: Filter by node_id.
        :param node_name: Filter by current node name.
        """
self
button_id
Union[int, str]
The ID of the button.
The ID of the button .
node_id
Optional[int]
Filter by node_id.
Filter by node_id .
node_name
Optional[str]
Filter by current node name.
Filter by current node name .