Document entry_type and initiate_flow translation keys (#2581)

This commit is contained in:
Erik Montnemery 2025-03-20 14:58:29 +01:00 committed by GitHub
parent f11987a265
commit 16b42dbdad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,6 +63,13 @@ The translation strings for the configuration flow handler, the option flow hand
"config": {
// Optional. Title to show in list. Only will be rendered if placeholders required
"flow_title": "Discovered Device ({host})",
// Optional, only needed if the default translations in frontend are misleading
"entry_type": "Label explaining what an entry represents",
// Optional, only needed if the default translations in frontend are misleading
"initiate_flow": {
"reconfigure": "Menu or button label for starting a reconfigure flow",
"user": "Menu or button label for starting a user flow"
},
"step": {
"init": {
// Optional. Will show the integration name if omitted