mirror of
https://github.com/thekiwismarthome/shopping-list-manager.git
synced 2026-05-01 11:46:30 +00:00
Update config_flow.py
This commit is contained in:
@@ -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={
|
||||||
|
|||||||
Reference in New Issue
Block a user