master
private function infoForDeviceAction(IActionInfo $deviceInfoClass, Model $specificDevice, string $action): JsonResponse