from meross_iot.supported_devices.power_plugs import Mss310

def build_wrapper(
        token,
        key,
        user_id,
        device_type,  # type: str
        device_specs  # type: dict
):
    if device_type.lower() == "mss310":
        return Mss310(token, key, user_id,**device_specs)
    else:
        return None