* Add DHCP discovery to Obihai * Unique ID is MAC * Move try blocks, cleanup * Migrate existing unique_ids * Use PyObihai to update Unique ID * Auth then use get_device_mac * Config flow changes * Reworking flow according to feedback * Cleanup
34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"username": "[%key:common::config_flow::data::username%]"
|
|
}
|
|
},
|
|
"dhcp_confirm": {
|
|
"description": "Do you want to set up {host}?",
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"username": "[%key:common::config_flow::data::username%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
|
}
|
|
},
|
|
"issues": {
|
|
"manual_migration": {
|
|
"title": "Obihai YAML configuration is being removed",
|
|
"description": "Configuration of the Obihai platform in YAML is deprecated and will be removed in Home Assistant 2023.6; Your existing configuration has been imported into the UI automatically and can be safely removed from your configuration.yaml file."
|
|
}
|
|
}
|
|
}
|