Enphase - Monitor Line Voltage Levels

I would like to monitor line voltage levels as I want to be sent an alert if there is an over voltage situation. I have coded this in another app I wrote but it would be good to have it within home assistant. Should I just create a custom component based on the enphase_envoy.py? The envoy reader just needs a couple of lines added to it. So sorry, I am not sure of the procedure as I am somewhat new to this. Thanks

If you think this is worth sharing this functionality, why not get in touch with the developers of the library and see if they’re open to pull requests?