@extends('layouts.app') @section('title', 'Register Sensor') @section('content')

Register Sensor

Register this sensor to a user account

Sensor Details

Device UUID: {{ $sensor->device_uuid }}

QR Code: {{ $sensor->qr_code }}

Gas Company: {{ $sensor->gasCompany->name ?? 'N/A' }}

Status: {{ ucfirst($sensor->status) }}

@csrf
@error('user_id')

{{ $message }}

@enderror
@error('location_name')

{{ $message }}

@enderror
@error('address')

{{ $message }}

@enderror

This will unset any existing primary sensor for the selected user.

Cancel
@push('scripts') @endpush @endsection