Hi, you need application "mi home" from Xiaomi, and a BLE gateway (BLE = bluetooth). But the gateway Xiaomi don't have bluetooth, so that use some product with wifi + BLE (bedside Lamp yeelight, some celing light yeelight, some camera, and other).
When your hey+ are connect with mi home like this.
View attachment 3643
You click on "Add automation" for créat a automation.
Btw, mi Home have many bug and poorly optimized option with the hey+.
1) The hey+ has been developed for 4 automation, that why you have Click A, B, C, D, but now you can Add more thanks 4 automation. For example 3 automation on click A, 2 on B and 2 on C, and on your hey+ that make 7 automation différent, but, they have keep the click system (A,B,C,D) idk why.
2) if you Add a automation A after a B, or B after D (if you not follow the alphabet), or if you modify 2 or 3 time a automation hey+, that delete all automation from the band (but they are still there in mi Home) and it's imposible to synchronized again to recover it. The only way for getback it's......

delete and recreates all automation hey+.
3) If you add a automation with the normal way (automation --> scenes) that don't work, and if you modify a automation from this way, it's same that the 2) you lose all.
4) If you delete a automation hey+, again same that 2) game over
5) The best, sometime you follow all my rules 1)2)3)4) but you lose all
My solution, i make all automation (at the end, there is a good chance of being in the situation 1)2)3)4)5)), So i screenshot all and i restart the real automation like this :
I add all automation hey+ with just a notification (example : if click A then send notification), after creating all the automations, i check if it's ok in the band, if they are well in the band. I replace "send notification" by the real automation, only one modification (you understand why i have screenshot).
Finish.
LAST RULE : when it's finished and functional, do not touch any automation who use the hey+, and never open the hey+ with mi home.