- manifest.json: keys reordered to domain, name, then alphabetical - strings.json + translations/en.json: rephrase user-step description without backticks/angle-brackets (hassfest rejects HTML in i18n strings) - __init__.py: add CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) since async_setup exists but the integration is config-entry-only
38 lines
1.9 KiB
JSON
38 lines
1.9 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Connect to your Omni panel",
|
|
"description": "Enter the IP/hostname of your HAI/Leviton Omni Pro II controller and the 32-character hex Controller Key. Run omni-pca decode-pca with the --field controller_key option on a PC Access export file to extract the key. Optionally provide a path to a saved .pca file to load panel programs from disk instead of streaming them from the controller.",
|
|
"data": {
|
|
"host": "Host",
|
|
"port": "Port",
|
|
"controller_key": "Controller Key (32 hex chars)",
|
|
"transport": "Transport",
|
|
"pca_path": ".pca file path (optional)",
|
|
"pca_key": ".pca per-install key (integer; 0 if plain-text)"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "Re-enter Controller Key",
|
|
"description": "The panel at {host}:{port} rejected the saved key. Paste the new 32-character hex Controller Key.",
|
|
"data": {
|
|
"controller_key": "Controller Key (32 hex chars)"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Could not reach the panel. Check the host, port, and that TCP/4369 is open.",
|
|
"invalid_auth": "The Controller Key was rejected by the panel.",
|
|
"invalid_key": "Controller Key must be exactly 32 hexadecimal characters (16 bytes).",
|
|
"pca_not_found": "No file at the supplied .pca path.",
|
|
"pca_decode_failed": "Could not decode the .pca file. Check the per-install key.",
|
|
"unknown": "An unexpected error occurred. Check the Home Assistant logs."
|
|
},
|
|
"abort": {
|
|
"already_configured": "This panel is already configured.",
|
|
"reauth_successful": "Re-authentication was successful."
|
|
}
|
|
}
|
|
}
|