mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00

* First commit * Feature complete? * Add dependency * Move setting poe mode logic to library * Use guard clauses * Bump requirement to 2 * Simplify saving switches with poe off * Store and use poe mode * Fix indentation * Fix flake8 * Configuration future proofing * Bump dependency to v3 * Add first test * Proper use of defaults with config flow (thanks helto) * Appease hound * Make sure there can't be duplicate entries of combination host+site * More tests * More tests * 98% coverage of controller * Fix hound comments * Config flow step init not necessary * Use async_current_entries to check if host and site for controller is used * Remove storing/restoring poe off devices to slim PR * First batch of switch tests * More switch tests. * Small improvements and clean up * Make tests pass Don't name device in device registry * Dont process clients that belong to non-UniFi POE switches * Allow selection of site from a list in config flow * Fix double blank lines in method * Update codeowners
26 lines
808 B
JSON
26 lines
808 B
JSON
{
|
|
"config": {
|
|
"title": "UniFi Controller",
|
|
"step": {
|
|
"user": {
|
|
"title": "Set up UniFi Controller",
|
|
"data": {
|
|
"host": "Host",
|
|
"username": "User name",
|
|
"password": "Password",
|
|
"port": "Port",
|
|
"site": "Site ID",
|
|
"verify_ssl": "Controller using proper certificate"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"faulty_credentials": "Bad user credentials",
|
|
"service_unavailable": "No service available"
|
|
},
|
|
"abort": {
|
|
"already_configured": "Controller site is already configured",
|
|
"user_privilege": "User needs to be administrator"
|
|
}
|
|
}
|
|
} |