* Initial working config entry with discovery * No need for else * Make sure that imported config doesnt exist as a config entry * Improve checks to make sure there is only instance of deconz * Fix tests and add new tests * Follow upstream changes Fix case when discovery started ongoing config entry and user completes setup from other path it was possible to complete discovered config entry as well * Add test to make sure link doesn't bypass any check for only allowing one config entry * Dont use len to determine an empty sequence * Cleanup * Allways get bridgeid to use as unique identifier for bridge
26 lines
860 B
JSON
26 lines
860 B
JSON
{
|
|
"config": {
|
|
"title": "deCONZ",
|
|
"step": {
|
|
"init": {
|
|
"title": "Define deCONZ gateway",
|
|
"data": {
|
|
"host": "Host",
|
|
"port": "Port (default value: '80')"
|
|
}
|
|
},
|
|
"link": {
|
|
"title": "Link with deCONZ",
|
|
"description": "Unlock your deCONZ gateway to register with Home Assistant.\n\n1. Go to deCONZ system settings\n2. Press \"Unlock Gateway\" button"
|
|
}
|
|
},
|
|
"error": {
|
|
"no_key": "Couldn't get an API key"
|
|
},
|
|
"abort": {
|
|
"already_configured": "Bridge is already configured",
|
|
"no_bridges": "No deCONZ bridges discovered",
|
|
"one_instance_only": "Component only supports one deCONZ instance"
|
|
}
|
|
}
|
|
} |