SMA add missing strings for DHCP (#145782)

This commit is contained in:
Erwin Douna 2025-06-03 12:12:56 +02:00 committed by GitHub
parent c5db07e84d
commit cd518d4a46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View File

@ -218,5 +218,6 @@ class SmaConfigFlow(ConfigFlow, domain=DOMAIN):
vol.Required(CONF_PASSWORD): cv.string,
}
),
description_placeholders={CONF_HOST: self._data[CONF_HOST]},
errors=errors,
)

View File

@ -32,6 +32,16 @@
},
"description": "Enter your SMA device information.",
"title": "Set up SMA Solar"
},
"discovery_confirm": {
"title": "[%key:component::sma::config::step::user::title]",
"description": "Do you want to setup the discovered SMA ({host})?",
"data": {
"group": "[%key:component::sma::config::step::user::data::group]",
"password": "[%key:common::config_flow::data::password%]",
"ssl": "[%key:common::config_flow::data::ssl%]",
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
}
}
}
}