async def process_frame(self, frame):
if isinstance(frame, FrameNodeStatePositionChangedNotification):<EOL><INDENT>if frame.node_id not in self.pyvlx.nodes:<EOL><INDENT>return<EOL><DEDENT>node = self.pyvlx.nodes[frame.node_id]<EOL>if isinstance(node, OpeningDevice):<EOL><INDENT>node.position = Position(frame.current_position)<EOL>await node.after_update()<EOL><DEDENT><DEDENT>elif isinstance(frame, FrameGetAllNodesInformationNotification):<EOL><INDENT>if frame.node_id not in self.pyvlx.nodes:<EOL><INDENT>return<EOL><DEDENT>node = self.pyvlx.nodes[frame.node_id]<EOL>if isinstance(node, OpeningDevice):<EOL><INDENT>node.position = Position(frame.current_position)<EOL>await node.after_update()<EOL><DEDENT><DEDENT>
Update nodes via frame, usually received by house monitor.