- Setup the plug like normal in the tapo app
- Remove the plug from the tapo app
- Then add them via matter to apple home, home assistant, etc. (by scanning the matter qr code on the device)
- It will setup the plug, and add it to the matter controller.
- Now your tapo plug is now disconnected from the cloud!
- You can you use tapo integration in ha to control locally.
Thanks to https://www.reddit.com/r/TpLink/comments/1cel7u8/p125m_smart_plugs_not_connecting_to_homekitmatter/ for the solution