Use Sonoff TH Thermostat (Climate) functionality
masterSonoff TH devices support an optional Climate entity.
Modes:
heat: Lower temp enables switch, higher temp disables switch.cool: Lower temp disables switch, higher temp enables switch.dry: Controls humidity using the same low/high switch settings (Note: UI displays temperature units due to Home Assistant limitations).
Connection Requirements:
- Thermostat control requires a Cloud connection.
- Main switch and TH sensors support both LAN and Cloud connections.
- Note: For THR316D/THR320D models, temperature and humidity updates require a local connection.