As Yakov mentioned, currently is not possible with edge drivers. There is Virtual Thermostat solution, but 8s is Groovy based SmartApp, and as Groovy is going away soon, one of the developers took different approach. Hebl created the driver for zigbee temperature sensors, that adds thermostat capabilities, and more. I am using it with Aqara Temperature sensor, and works great. I just have to create automations with switches/outlets