Interesting approach that I haven’t seen before.
Did you take a look at this app, which supports multiple remotes and connection types (zigbee2mqtt, deconz) and also looping through colors and more.
I also created an app, but only for deconz, which uses a little trick with deconz services and allows really smooth dimming