The config page for the NUT UPS plugin refuses to allow configuration.
Steps to replicate -
Install nut plugin
Goto Services \ UPS
Without editing the Identifier from default - ups - add a driver directive
driver = apcsmart
Hit save.
Error Message -
upsname: The value 'ups' doesn't match the pattern '^[a-z0-9_-]+$'.
In what programming language do the letters u, p and s NOT match ^[a-z0-9_-]+$ regex?
This cannot be anything other than a bug.