This is a component driver I created for use with a bunch of Treatlife DS03 Fan and Dimmer switches I just bought. They are also sold as Esmlfe Smart Ceiling Fan Control and Dimmers.
To use this driver your devices need to be flashed with the Tasmota-HttpHook firmware by Markus. Because of various new features and bug fixes, they require the absolute latest Tasmota firmware. So I have ported the HttpHook code to Tasmota 22.214.171.124 and provide it here. If Markus updates in the future you should be able to use this driver with his firmware.
After you flash your device with the Tasmota-HttpHook firmware please run the following 3 lines in the Tasmota console to set it up. Your device may reboot between each line:
backlog so97 1 ; tuyamcu 11,1 ; tuyamcu 12,9 ; tuyamcu 21,10 ; tuyamcu 64,3
backlog ledtable 0 ; dimmerrange 10,1000 ; so59 0 ; so68 0
You will also need to enable HttpHook in the settings and give it your Hubitat IP address.
Now just grab my driver code, and add it to Hubitat. Add a new virtual device, change it's driver type to "Treatlife Fan Control and Dimmer", save and then fill in your switch's IP address. After this, two child devices will be created. One for the fan and one for the dimmer.
Hubitat/tasmota-126.96.36.199-pre-httphook.bin.gz at master · Obi2000/Hubitat (github.com)