Alternative of sonoff integration with homeassistant

Can anyone help me that how to integrate other wifi switch boards like of local manufacturer rather than sonoff wifi smart switch with homeassistant???