def add_node(self, node):
self.nodes.append(node)<EOL>try:<EOL><INDENT>if node.node_id != b"<STR_LIT>":<EOL><INDENT>self.node_ids.append(node.node_id)<EOL><DEDENT><DEDENT>except NotImplementedError:<EOL><INDENT>raise<EOL><DEDENT>except Exception:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>
add a node class of HomieNode to this device