* airzone: select: remove unneed .keys() Fixes late comment when select platform was introduced. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> * airzone: select: make options translatable This was a late comment when the select platform was introduced. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> * airzone: select: change options to lists (from enums) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> * tests: airzone: fix python 3.10 tests Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> * airzone: select: add manual dict values This was requested in order to keep control of the translation strings. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> * Revert "airzone: select: add manual dict values" This reverts commitb818a2674d
. * Revert "tests: airzone: fix python 3.10 tests" This reverts commit93f8bd1430
. * Revert "airzone: select: change options to lists (from enums)" This reverts commite503a1dd3a
. * airzone: select: options: copy dict to list Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> * airzone: select: use degree symbol Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> --------- Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_system_id": "Invalid Airzone System ID"
|
|
},
|
|
"step": {
|
|
"discovered_connection": {
|
|
"data": {
|
|
"id": "[%key:component::airzone::config::step::user::data::id%]",
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"port": "[%key:common::config_flow::data::port%]"
|
|
}
|
|
},
|
|
"user": {
|
|
"data": {
|
|
"id": "System ID",
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"port": "[%key:common::config_flow::data::port%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"select": {
|
|
"grille_angles": {
|
|
"state": {
|
|
"90deg": "90°",
|
|
"50deg": "50°",
|
|
"45deg": "45°",
|
|
"40deg": "40°"
|
|
}
|
|
},
|
|
"sleep_times": {
|
|
"state": {
|
|
"off": "[%key:common::state::off%]",
|
|
"30m": "30 minutes",
|
|
"60m": "60 minutes",
|
|
"90m": "90 minutes"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|