Update config_flow.py

This commit is contained in:
thekiwismarthome
2026-02-13 21:53:39 +13:00
committed by GitHub
parent d22b234f68
commit 5378f79ac4
@@ -21,7 +21,7 @@ class ShoppingListManagerConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
# Create entry with default country # Create entry with default country
return self.async_create_entry( return self.async_create_entry(
title="Shopping List Manager", title="Shopping List Manager",
data={"country": "NZ"}, # Default to NZ data={"country": "NZ"},
options={ options={
"country": "NZ", "country": "NZ",
"enable_price_tracking": True, "enable_price_tracking": True,
@@ -30,7 +30,7 @@ class ShoppingListManagerConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
} }
) )
# Show simple setup form (no country selection here) # Show simple setup form
return self.async_show_form( return self.async_show_form(
step_id="user", step_id="user",
description_placeholders={ description_placeholders={