You can (trivially) spin up a fake matter switch from one of their examples. It requires a service running on a Raspi.
Otherwise, what was wrong with a virtual switch in homebridge? I’ve been using one of those for years now to do a bunch of homekit automatons.