There is some pretty good documentation at https://docs.opnsense.org/manual/how-tos/nut.html, though a few things caught me. I'm writing this up as a short recipe; see that documentation for the real way to do things.
The opnSense NUT client has a lot of presets. For example, it is designed to shut down the firewall when LOWBATT is detected (I think at ups.status), which is generally set to about 10%.
opnSense logs problems to /var/log/system/latest.log with a process name of upsmon. So, the command
grep upsmon /var/log/system/latest.log
will show any issues.
The configuration files are stored in /usr/local/etc/nut, so you an actually make manual edits there, but they are not guaranteed to survive an update. upsmon.conf appears to be the only configuration file with anything in it (other than comments) when you are set up as a netclient