def setup_platform(hass, config, add_devices, discovery_info=None):
    import steam as steamod
    steamod.api.key.set(config.get(CONF_API_KEY))
    add_devices(
        [SteamSensor(account,
                     steamod) for account in config.get('accounts', [])])
Setup the Steam platform.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/steam_online.py/setup_platform