Hi,
I’ve moved your topic to feature request section.
Now, I suggest you to take a read to https://docs.librenms.org/Developing/Sensor-State-Support/
Then expand the yaml to also take care of that raid state sensor.
Remember to PR your changes to everyone can benefit of them