def setup_platform(hass, config, add_devices, discovery_info=None):
    data = SpeedtestData()
    dev = []
    for sensor in config[CONF_MONITORED_CONDITIONS]:
        if sensor not in SENSOR_TYPES:
            _LOGGER.error('Sensor type: "%s" does not exist', sensor)
        else:
            dev.append(SpeedtestSensor(data, sensor))

    add_devices(dev)


# pylint: disable=too-few-public-methods
Set the number if inactive days before the account is locked. Not available
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/speedtest.py/setup_platform--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/mac_shadow.py/set_inactdays