Refactor of hddtemp plugin