* Add config flow support to opentherm_gw. Bump pyotgw to 0.5b0 (required for connection testing) Existing entries in configuration.yaml will be converted to config entries and ignored in future runs. * Fix not connecting to Gateway on startup. Pylint fixes. * Add tests for config flow. Remove non-essential options from config flow. Restructure config entry data. * Make sure gw_id is slugified
23 lines
588 B
JSON
23 lines
588 B
JSON
{
|
|
"config": {
|
|
"title": "OpenTherm Gateway",
|
|
"step": {
|
|
"init": {
|
|
"title": "OpenTherm Gateway",
|
|
"data": {
|
|
"name": "Name",
|
|
"device": "Path or URL",
|
|
"id": "ID",
|
|
"precision": "Climate temperature precision",
|
|
"floor_temperature": "Floor climate temperature"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"already_configured": "Gateway already configured",
|
|
"id_exists": "Gateway id already exists",
|
|
"serial_error": "Error connecting to device",
|
|
"timeout": "Connection attempt timed out"
|
|
}
|
|
}
|
|
} |