Google Home Automator can help you automating your Google Home App.
You need a python 3 environment to run the script. Google Home UI Automator requires python 3.9 or newer.
3.1.1.14 and 3.7.1.4.cd to the folder.pip install .$ ui-automator --commission DEVICE_NAME,PAIRING_CODE,ROOM_NAME
DEVICE_NAME: desired Matter device, e.g. m5stackPAIRING_CODE: pairing code of your Matter device, e.g. 34970112332ROOM_NAME: room that is going to be assigned, e.g. Office$ ui-automator --decommission DEVICE_NAME
DEVICE_NAME: display name of commissioned Matter device on GHA, e.g. m5stack