Aqara M2 gateway support

Just to clarify, you were able to add it to home assistant without first adding it to another homekit network first? Just go to home assistant integrations and add it as a homekit controller?