Use common state for "Auto", fix casing in mqtt (#143000)

- use the (new) common state for "Auto"
- capitalize one occurrence of "mqtt"
- (fully) sentence-case two title strings

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Norbert Rittel 2025-04-15 20:24:44 +02:00 committed by GitHub
parent ae306893ff
commit 6a1739e883
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
{
"issues": {
"invalid_platform_config": {
"title": "Invalid config found for mqtt {domain} item",
"title": "Invalid config found for MQTT {domain} item",
"description": "Home Assistant detected an invalid config for a manually configured item.\n\nPlatform domain: **{domain}**\nConfiguration file: **{config_file}**\nNear line: **{line}**\nConfiguration found:\n```yaml\n{config}\n```\nError: **{error}**.\n\nMake sure the configuration is valid and [reload](/developer-tools/yaml) the manually configured MQTT items or restart Home Assistant to fix this issue."
},
"invalid_unit_of_measurement": {
@ -68,7 +68,7 @@
"title": "Starting add-on"
},
"hassio_confirm": {
"title": "MQTT Broker via Home Assistant add-on",
"title": "MQTT broker via Home Assistant add-on",
"description": "Do you want to configure Home Assistant to connect to the MQTT broker provided by the add-on {addon}?"
},
"reauth_confirm": {
@ -153,7 +153,7 @@
},
"sections": {
"mqtt_settings": {
"name": "MQTT Settings",
"name": "MQTT settings",
"data": {
"qos": "QoS"
},
@ -480,7 +480,7 @@
"set_ca_cert": {
"options": {
"off": "[%key:common::state::off%]",
"auto": "Auto",
"auto": "[%key:common::state::auto%]",
"custom": "Custom"
}
},