code: def _nodedev_event_update_cb(conn, dev, opaque):
      '''
      Node device update events handler
      '''
      _salt_send_event(opaque, conn, {
          'nodedev': {
              'name': dev.name()
          },
          'event': opaque['event']
      }f _nodedev_event_update_cb(conn, dev, opaque):
      '''
      Node device update events handler
      '''
      _salt_send_event(opaque, conn, {
          'nodedev': {
              'name': dev.name()
          },
          'event': opaque['event']
      })
docs: Node device update events handler