All my light switches have in-wall relay modules for the switches, but instead of swapping them with dimmer modules, I’d love to be able to place a smart bulb like the Sengrel ones with dimmable capabilities, and then group them into a virtual device that Toggles and Dims. The dim control would go to the bulb, the switch would do the toggling.
It would need code to ensure the switch is on before calling the dim settings, but I think this sounds feasible.
Has anyone done this or know of a quick way to get it going?
I’m a developer, and am familiar with Python and many other languages and don’t mind writing this, but if there is something I can use as a template to get started I’d love to have a good jumping off point.