The scenario watches the repository and starts a build in your CI system right after a push or an opened merge request.
Automating GitLab and aqara takes no code: a ready-made scenario does the routine for you.
You can launch this GitLab + aqara integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.