added support for thermal sensor