* lutron_caseta: allow for multiple bridges; use config entries Refactor to use config entries/flows, but only implemented import (async_setup) flow handler for now. * lutron_caseta: config_flow.py pylint hint Co-Authored-By: Martin Hjelmare <marhje52@gmail.com> * lutron_caseta: tweaks to __init__.py per PR feedback * lutron_caseta: add config_flow tests * lutron_caseta: verify connectivity to bridge check connectivity before creating config entry; cleanup translation/strings * lutron_caseta: allow for multiple bridges; use config entries Refactor to use config entries/flows, but only implemented import (async_setup) flow handler for now. * lutron_caseta: config_flow.py pylint hint Co-Authored-By: Martin Hjelmare <marhje52@gmail.com> * lutron_caseta: tweaks to __init__.py per PR feedback * lutron_caseta: add config_flow tests * lutron_caseta: verify connectivity to bridge check connectivity before creating config entry; cleanup translation/strings * lutron_caseta: add error logging when exception is encountered checking connectivity * lutron_caseta: tests mock bridge creation, not ha-side connectivity check * lutron_caseta: catch more specific Error types while checking bridge conn. Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
17 lines
546 B
JSON
17 lines
546 B
JSON
{
|
||
"config": {
|
||
"step": {
|
||
"import_failed": {
|
||
"title": "Failed to import Caséta bridge configuration.",
|
||
"description": "Couldn’t setup bridge (host: {host}) imported from configuration.yaml."
|
||
}
|
||
},
|
||
"error": {
|
||
"cannot_connect": "Failed to connect to Caséta bridge; check your host and certificate configuration."
|
||
},
|
||
"abort": {
|
||
"already_configured": "Caséta bridge already configured.",
|
||
"cannot_connect": "Cancelled setup of Caséta bridge due to connection failure."
|
||
}
|
||
}
|
||
} |