groupedSensors = Sensor::where('device_id', $this->transceiver->device_id) ->whereNotNull('entPhysicalIndex') ->where('entPhysicalIndex', $this->transceiver->entity_physical_index) ->where('group', 'transceiver') ->get() ->groupBy('sensor_class'); } /** * Get the view / contents that represent the component. */ public function render(): View|Closure|string { return view('components.transceiver-sensors'); } }