Monitor the hdd space of a usb disk attached on a raspberry pi in the same local network of HA

You could use this custom component:

You would have to alter this sensor in the source file:

def get_disk_usage():
    return str(psutil.disk_usage('/').percent)
1 Like