def setup_platform(hass, config, add_devices, discovery_info=None):
    scene_config = config.get("states")

    if not isinstance(scene_config, list):
        scene_config = [scene_config]

    add_devices(HomeAssistantScene(hass, _process_config(scene))
                for scene in scene_config)

    return True
Filter returns only continents
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/scene/homeassistant.py/setup_platform--crossover with--dataset/ETHPy150Open ramusus/django-geonames/geonames/models.py/GeonameManager.continents