Sonoff, Tasmota, HE, Hue Bridge emulation. Use Case

I think you're going to run into problems with that because the HueBridgeBulb is a dimmer device and the sonoff you have is only a switch device. I don't know if it's ever going to work correctly. You might want to look at this post. It has custom Tasmota Firmware that works directly with HE. I don't know if there is a driver built yet for the 4 channel but that would definitely be an easier task than writing a hue driver.