* Initial work on config_flow * Finish config flow * Pylint checks, make sure the import only happens once * Added support for unloading, small fixes * Check in the hassfest output files * Flake8 fixes * pylint mistake after flake8 fixes * Work on comments * Abort the import if it is already imported * More comments resolved * Added testcases for velbus config flow * Fix pylint and flake8 * Added connection test to the config flow * More sugestions * renamed the abort reason * excluded all but the config_flow.py from the velbus component in coveragerc * Rewrote testcases with a patched version of _test_connection * Docstyle fixes * Updated the velbus testcases * just yield * flake8 fixes
21 lines
489 B
JSON
21 lines
489 B
JSON
{
|
|
"config": {
|
|
"title": "Velbus interface",
|
|
"step": {
|
|
"user": {
|
|
"title": "Define the velbus connection type",
|
|
"data": {
|
|
"name": "The name for this velbus connection",
|
|
"port": "Connection string"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"port_exists": "This port is already configured",
|
|
"connection_failed": "The velbus connection failed"
|
|
},
|
|
"abort": {
|
|
"port_exists": "This port is already configured"
|
|
}
|
|
}
|