Anyone have a Virtual RGBW Light Driver to share. I'd like to develop a custom driver based on the built in Virtual RGBW Light driver but Hubitat does share their code.
Just curious, what’s your use case (if the built-in driver won’t do what you’re looking to do)?
I like to use virtual drivers that always send a state change regardless of the current state. For example, if the current state is On and you tell the virtual drive to switch On it will send an On where as the built in virtual driver would not since the state was already On.
I want to add "isStateChange: true" to all the SendEvent commands so if the light receives an On, Off, Level, Color and it happens to already be in that particular state it still it still indicates a state change.