hass-core/homeassistant/components/kitchen_sink/strings.json
Erik Montnemery 0545ed8082
Section support for data entry flows (#118369)
* Add expandable support for data entry form flows

* Update config_validation.py

* optional options

* Adjust

* Correct translations of data within sections

* Update homeassistant/components/kitchen_sink/config_flow.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Add missing import

* Update tests/components/kitchen_sink/test_config_flow.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Format code

* Match frontend when serializing

* Move section class to data_entry_flow

* Correct serializing

* Fix import in kitchen_sink

* Move and update test

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-25 11:02:00 +02:00

75 lines
1.9 KiB
JSON

{
"config": {
"step": {
"reauth_confirm": {
"description": "Press SUBMIT to reauthenticate"
}
}
},
"options": {
"step": {
"init": {
"data": {}
},
"options_1": {
"section": {
"section_1": {
"data": {
"bool": "Optional boolean",
"int": "Numeric input"
},
"description": "This section allows input of some extra data",
"name": "Collapsible section"
}
},
"submit": "Save!"
}
}
},
"device": {
"n_ch_power_strip": {
"name": "Power strip with {number_of_sockets} sockets"
}
},
"issues": {
"bad_psu": {
"title": "The power supply is not stable",
"fix_flow": {
"step": {
"confirm": {
"title": "The power supply needs to be replaced",
"description": "Press SUBMIT to confirm the power supply has been replaced"
}
}
}
},
"out_of_blinker_fluid": {
"title": "The blinker fluid is empty and needs to be refilled",
"fix_flow": {
"step": {
"confirm": {
"title": "Blinker fluid needs to be refilled",
"description": "Press SUBMIT when blinker fluid has been refilled"
}
}
}
},
"cold_tea": {
"title": "The tea is cold",
"fix_flow": {
"step": {},
"abort": {
"not_tea_time": "Can not re-heat the tea at this time"
}
}
},
"transmogrifier_deprecated": {
"title": "The transmogrifier component is deprecated",
"description": "The transmogrifier component is now deprecated due to the lack of local control available in the new API"
},
"unfixable_problem": {
"title": "This is not a fixable problem",
"description": "This issue is never going to give up."
}
}
}