mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-30 05:13:40 +00:00
refactoring config flow
This commit is contained in:
parent
5bb8af942e
commit
b5c278920c
2 changed files with 48 additions and 0 deletions
|
|
@ -31,6 +31,30 @@
|
|||
"setup_complete": "Einrichtung abgeschlossen! Du kannst zusätzliche Optionen für Tibber Preise in den Integrationsoptionen ändern, nachdem du diesen Dialog geschlossen hast."
|
||||
}
|
||||
},
|
||||
"config_subentries": {
|
||||
"home": {
|
||||
"title": "Zuhause",
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Tibber Zuhause hinzufügen",
|
||||
"description": "Wähle ein Zuhause aus, das du zu deiner Tibber-Integration hinzufügen möchtest.",
|
||||
"data": {
|
||||
"home_id": "Zuhause"
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"api_error": "Fehler beim Abrufen der Zuhause von der Tibber API"
|
||||
},
|
||||
"abort": {
|
||||
"no_parent_entry": "Übergeordneter Eintrag nicht gefunden",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"step": {
|
||||
"init": {
|
||||
|
|
|
|||
|
|
@ -31,6 +31,30 @@
|
|||
"setup_complete": "Setup complete! You can change additional options for Tibber Prices in the integration's options after closing this dialog."
|
||||
}
|
||||
},
|
||||
"config_subentries": {
|
||||
"home": {
|
||||
"title": "Home",
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Add Tibber Home",
|
||||
"description": "Select a home to add to your Tibber integration.",
|
||||
"data": {
|
||||
"home_id": "Home"
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"api_error": "Failed to fetch homes from Tibber API"
|
||||
},
|
||||
"abort": {
|
||||
"no_parent_entry": "Parent entry not found",
|
||||
"no_access_token": "No access token available",
|
||||
"home_not_found": "Selected home not found",
|
||||
"api_error": "Failed to fetch homes from Tibber API",
|
||||
"no_available_homes": "No additional homes available to add"
|
||||
}
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"step": {
|
||||
"init": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue