custom_components/nea_sg_weather/config_flow.py
def configured_instances(hass):
    """Return a set of configured NEA SG Weather instances."""
    entries = []
    for entry in hass.config_entries.async_entries(DOMAIN):
        entries.append(f"{entry.data.get(CONF_NAME)}")
    return set(entries)
Return a set of configured NEA SG Weather instances.
Return a set of configured NEA SG Weather instances.
Return a set of configured NEA SG Weather instances .
def configured_instances(hass):
    entries = []
    for entry in hass.config_entries.async_entries(DOMAIN):
        entries.append(f"{entry.data.get(CONF_NAME)}")
    return set(entries)
def configured_instances ( hass ) : entries = [ ] for entry in hass . config_entries . async_entries ( DOMAIN ) : entries . append ( f"{entry.data.get(CONF_NAME)}" ) return set ( entries )
Return a set of configured NEA SG Weather instances.
Return a set of configured NEA SG Weather instances .
"""Return a set of configured NEA SG Weather instances."""
hass