custom_components/nea_sg_weather/config_flow.py
async def async_step_onboarding(self, data=None):
        """Handle a flow initialized by onboarding."""
        return self.async_create_entry(
            title=DEFAULT_NAME,
            data={
                CONF_NAME: DEFAULT_NAME,
                CONF_SELECTOR: "WEATHER",
                CONF_SCAN_INTERVAL: DEFAULT_SCAN_INTERVAL,
                CONF_TIMEOUT: DEFAULT_TIMEOUT,
            },
        )
Handle a flow initialized by onboarding.
Handle a flow initialized by onboarding.
Handle a flow initialized by onboarding .
async def async_step_onboarding(self, data=None):
        return self.async_create_entry(
            title=DEFAULT_NAME,
            data={
                CONF_NAME: DEFAULT_NAME,
                CONF_SELECTOR: "WEATHER",
                CONF_SCAN_INTERVAL: DEFAULT_SCAN_INTERVAL,
                CONF_TIMEOUT: DEFAULT_TIMEOUT,
            },
        )
async def async_step_onboarding ( self , data = None ) : return self . async_create_entry ( title = DEFAULT_NAME , data = { CONF_NAME : DEFAULT_NAME , CONF_SELECTOR : "WEATHER" , CONF_SCAN_INTERVAL : DEFAULT_SCAN_INTERVAL , CONF_TIMEOUT : DEFAULT_TIMEOUT , } , )
Handle a flow initialized by onboarding.
Handle a flow initialized by onboarding .
"""Handle a flow initialized by onboarding."""
self
data