diff --git a/custom_components/tibber_prices/config_flow.py b/custom_components/tibber_prices/config_flow.py index f203a3d..f12a6f6 100644 --- a/custom_components/tibber_prices/config_flow.py +++ b/custom_components/tibber_prices/config_flow.py @@ -73,7 +73,7 @@ class TibberPricesFlowHandler(ConfigFlow, domain=DOMAIN): @staticmethod @callback - def async_get_options_flow() -> OptionsFlow: + def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow: # noqa: ARG004 """Create an options flow for this configentry.""" return TibberPricesOptionsFlowHandler() diff --git a/custom_components/tibber_prices/translations/de.json b/custom_components/tibber_prices/translations/de.json index dff1247..3b87cce 100644 --- a/custom_components/tibber_prices/translations/de.json +++ b/custom_components/tibber_prices/translations/de.json @@ -41,7 +41,11 @@ }, "config_subentries": { "home": { - "title": "Zuhause hinzufügen", + "initiate_flow": { + "user": "Tibber Zuhause hinzufügen" + }, + "title": "Tibber Zuhause hinzufügen", + "description": "Füge ein weiteres Tibber Zuhause zu deiner Integration hinzu", "step": { "user": { "title": "Tibber Zuhause hinzufügen", @@ -59,7 +63,7 @@ "no_access_token": "Kein Zugriffstoken verfügbar", "home_not_found": "Ausgewähltes Zuhause nicht gefunden", "api_error": "Fehler beim Abrufen der Zuhause von der Tibber API", - "no_available_homes": "Keine weiteren Zuhause zum Hinzufügen verfügbar" + "no_available_homes": "Keine zusätzlichen Zuhause verfügbar. Alle Zuhause von deinem Tibber-Konto wurden bereits hinzugefügt." } } }, diff --git a/custom_components/tibber_prices/translations/en.json b/custom_components/tibber_prices/translations/en.json index a1b9171..43db2cd 100644 --- a/custom_components/tibber_prices/translations/en.json +++ b/custom_components/tibber_prices/translations/en.json @@ -41,11 +41,15 @@ }, "config_subentries": { "home": { - "title": "Add Home", + "initiate_flow": { + "user": "Add Tibber Home" + }, + "title": "Add Tibber Home", + "description": "Add another Tibber home to your integration", "step": { "user": { "title": "Add Tibber Home", - "description": "Select a home to add to your Tibber integration.\n\n**Note:** After adding this home, you can add additional homes from the integration's context menu by selecting \"Add Home\".", + "description": "Select a home to add to your Tibber integration.\n\n**Note:** After adding this home, you can add additional homes from the integration's context menu by selecting \"Add Tibber Home\".", "data": { "home_id": "Home" }