Xiaomi WXKG03LM — Help needed

I also have a WXKG02LM.
Is there a handler that supports main and child switch?

I sync with home Assistant That’s why I need two buttons.

Hope that someone can help

Thx