code: func notifyDeviceAssociates(d models.Device, action string, ctx context.Context) error {
  	// Post the notification to the notifications service
  	postNotification(d.Name, action, ctx)
  
  	// Callback for device service
  	ds, err := dbClient.GetDeviceServiceById(d.Service.Id)
  	if err != nil {
  		LoggingClient.Error(err.Error())
  		return err
  	}
  	if err := notifyAssociates([]models.DeviceService{ds}, d.Id, action, models.DEVICE); err != nil {
  		LoggingClient.Error(err.Error())
  		return err
  	}
  
  	return nil
  }
docs: // Notify the associated device service for the device