I did try this with v23 but waited for the v24 upgrade to see if anything in that would fix the problem, but I cannot get the NUT service to start after configuring the usbhid driver. When it starts all I see is:
root@bart:/usr/local/etc/rc.d # ./nut start
Network UPS Tools - UPS driver controller 2.8.1
Network UPS Tools - Generic HID driver 0.52 (2.8.1)
USB communication driver (libusb 1.0) 0.46
interrupt pipe disabled (add 'pollonly' flag to 'ups.conf' to get rid of this message)
Can't claim USB device [051d:0003]@0/0: Other error
upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
Driver failed to start (exit status=1)
./nut: WARNING: failed precmd routine for nut
The USB device is definitely showing when it gets connected, and the device above is correct for the UPS (an APC Smart-UPS). I have also tested the UPS on both a Windows PC and another Linux machine and they both worked, but I need this UPS to be connected to the firewall under the control of OPNsense.