If you know what you are doing and local code allows it, you do not even need that. Just wire the line and load together and connect it to the line side of a smart switch. Using something like [RELEASE] Switch Bindings to bind the smart switch with the smart bulbs works well.
When my wife and I bought a new house last fall, the previous owners and had put Treatlife switches everywhere. Thankfully, they work with [BETA] Tuya Cloud Driver (Limited device support) and the cloud updates are almost instantaneous. We already had Phillips Hue bulbs, so I just wired the smart switches and used Hubitat to sync them altogether. After adding lux and motion sensors, no one touches the switches anymore, so I might rewire them back, but right now it works incredibly well.