async def METHOD_NAME(hass: HomeAssistant) -> None:
    """
    Test that we can open an option flow for an auto discovered config entry
    """
    entry = create_mock_entry(
        hass,
        {
            CONF_ENTITY_ID: "light.test",
            CONF_NAME: "Test",
            CONF_SENSOR_TYPE: SensorType.VIRTUAL_POWER,
            CONF_MANUFACTURER: "signify",
            CONF_MODEL: "LCT010",
        },
        config_entries.SOURCE_INTEGRATION_DISCOVERY,
    )
    result = await initialize_options_flow(hass, entry)
    assert result["type"] == data_entry_flow.FlowResultType.FORM
    user_input = {CONF_CREATE_ENERGY_SENSOR: False}
    result = await hass.config_entries.options.async_configure(
        result["flow_id"],
        user_input=user_input,
    )
    assert result["type"] == data_entry_flow.FlowResultType.CREATE_ENTRY
    assert not entry.data[CONF_CREATE_ENERGY_SENSOR]