Here's how I'm checking 6 different hardware RAID controllers: https://github.com/alexmyczko/autoexec.bat/blob/master/xymon/raidhw
I'm reading NVME temperatures out with: https://github.com/alexmyczko/ruptime/ at the very bottom: nvme smart-log /dev/nvme0n1 HTH