* implemented coordinator + doorsensor * added async_unload_entry * small fixes + reauth_flow * update function * black * define _data inside __init__ * removed unused property * await on update & coverage for binary_sensor * keep reauth seperate from validate * setting entities unavailable when connection goes down * add unknown error when entity is not present * override extra_state_attributes() * removed unnecessary else * moved to locks & openers variables * removed doorsensorState attribute * changed config entry reload to a task * wait for reload
28 lines
No EOL
1 KiB
JSON
28 lines
No EOL
1 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
"token": "[%key:common::config_flow::data::access_token%]"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "[%key:common::config_flow::title::reauth%]",
|
|
"description": "The Nuki integration needs to re-authenticate with your bridge.",
|
|
"data": {
|
|
"token": "[%key:common::config_flow::data::access_token%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
}
|
|
}
|
|
} |