synologydsm-api
synologydsm-api copied to clipboard
add disk utilization, read, and write metrics
This PR adds functions to pull the disk-related metrics from the utilization API data. This includes the total utilization as a percentage, plus the total read and write bytes. The end goal is to expose this data for Home Assistant's Synology integration.
I've also added these metrics to the README utilization example and added a unit test.