163 lines
7.4 KiB
JSON
163 lines
7.4 KiB
JSON
{
|
|
"config": {
|
|
"flow_title": "{name} ({ip_address})",
|
|
"step": {
|
|
"user": {
|
|
"title": "UniFi Protect Setup",
|
|
"description": "You will need a local user created in your UniFi OS Console to log in with. Ubiquiti Cloud Users will not work. For more information: {local_user_documentation_url}",
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]",
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
},
|
|
"data_description": {
|
|
"host": "Hostname or IP address of your UniFi Protect device."
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "UniFi Protect Reauth",
|
|
"data": {
|
|
"host": "IP/Host of UniFi Protect Server",
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"discovery_confirm": {
|
|
"title": "UniFi Protect Discovered",
|
|
"description": "Do you want to set up {name} ({ip_address})? You will need a local user created in your UniFi OS Console to log in with. Ubiquiti Cloud Users will not work. For more information: {local_user_documentation_url}",
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"protect_version": "Minimum required version is v1.20.0. Please upgrade UniFi Protect and then retry.",
|
|
"cloud_user": "Ubiquiti Cloud users are not Supported. Please use a Local only user."
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"discovery_started": "Discovery started"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "UniFi Protect Options",
|
|
"description": "Realtime metrics option should only be enabled if you have enabled the diagnostics sensors and want them updated in realtime. If not enabled, they will only update once every 15 minutes.",
|
|
"data": {
|
|
"disable_rtsp": "Disable the RTSP stream",
|
|
"all_updates": "Realtime metrics (WARNING: Greatly increases CPU usage)",
|
|
"override_connection_host": "Override Connection Host",
|
|
"max_media": "Max number of event to load for Media Browser (increases RAM usage)",
|
|
"allow_ea": "Allow Early Access versions of Protect (WARNING: Will mark your integration as unsupported)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"issues": {
|
|
"ea_warning": {
|
|
"title": "UniFi Protect v{version} is an Early Access version",
|
|
"fix_flow": {
|
|
"step": {
|
|
"start": {
|
|
"title": "v{version} is an Early Access version",
|
|
"description": "You are using v{version} of UniFi Protect which is an Early Access version. [Early Access versions are not supported by Home Assistant](https://www.home-assistant.io/integrations/unifiprotect#about-unifi-early-access) and it is recommended to go back to a stable release as soon as possible.\n\nBy submitting this form you have either [downgraded UniFi Protect](https://www.home-assistant.io/integrations/unifiprotect#downgrading-unifi-protect) or you agree to run an unsupported version of UniFi Protect."
|
|
},
|
|
"confirm": {
|
|
"title": "[%key:component::unifiprotect::issues::ea_warning::fix_flow::step::start::title%]",
|
|
"description": "Are you sure you want to run unsupported versions of UniFi Protect? This may cause your Home Assistant integration to break."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ea_setup_failed": {
|
|
"title": "Setup error using Early Access version",
|
|
"description": "You are using v{version} of UniFi Protect which is an Early Access version. An unrecoverable error occurred while trying to load the integration. Please [downgrade to a stable version](https://www.home-assistant.io/integrations/unifiprotect#downgrading-unifi-protect) of UniFi Protect to continue using the integration.\n\nError: {error}"
|
|
},
|
|
"cloud_user": {
|
|
"title": "Ubiquiti Cloud Users are not Supported",
|
|
"fix_flow": {
|
|
"step": {
|
|
"confirm": {
|
|
"title": "Ubiquiti Cloud Users are not Supported",
|
|
"description": "Starting on July 22nd, 2024, Ubiquiti will require all cloud users to enroll in multi-factor authentication (MFA), which is incompatible with Home Assistant.\n\nIt would be best to migrate to using a [local user]({learn_more}) as soon as possible to keep the integration working.\n\nConfirming this repair will trigger a re-authentication flow to enter the needed authentication credentials."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"license_plate": {
|
|
"state": {
|
|
"none": "Clear"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"add_doorbell_text": {
|
|
"name": "Add custom doorbell text",
|
|
"description": "Adds a new custom message for doorbells.",
|
|
"fields": {
|
|
"device_id": {
|
|
"name": "UniFi Protect NVR",
|
|
"description": "Any device from the UniFi Protect instance you want to change. In case you have multiple Protect Instances."
|
|
},
|
|
"message": {
|
|
"name": "Custom message",
|
|
"description": "New custom message to add for doorbells. Must be less than 30 characters."
|
|
}
|
|
}
|
|
},
|
|
"remove_doorbell_text": {
|
|
"name": "Remove custom doorbell text",
|
|
"description": "Removes an existing message for doorbells.",
|
|
"fields": {
|
|
"device_id": {
|
|
"name": "[%key:component::unifiprotect::services::add_doorbell_text::fields::device_id::name%]",
|
|
"description": "[%key:component::unifiprotect::services::add_doorbell_text::fields::device_id::description%]"
|
|
},
|
|
"message": {
|
|
"name": "[%key:component::unifiprotect::services::add_doorbell_text::fields::message::name%]",
|
|
"description": "Existing custom message to remove for doorbells."
|
|
}
|
|
}
|
|
},
|
|
"set_default_doorbell_text": {
|
|
"name": "Set default doorbell text",
|
|
"description": "Sets the default doorbell message. This will be the message that is automatically selected when a message \"expires\".",
|
|
"fields": {
|
|
"device_id": {
|
|
"name": "[%key:component::unifiprotect::services::add_doorbell_text::fields::device_id::name%]",
|
|
"description": "[%key:component::unifiprotect::services::add_doorbell_text::fields::device_id::description%]"
|
|
},
|
|
"message": {
|
|
"name": "Default message",
|
|
"description": "The default message for your doorbell. Must be less than 30 characters."
|
|
}
|
|
}
|
|
},
|
|
"set_chime_paired_doorbells": {
|
|
"name": "Set chime paired doorbells",
|
|
"description": "Use to set the paired doorbell(s) with a smart chime.",
|
|
"fields": {
|
|
"device_id": {
|
|
"name": "Chime",
|
|
"description": "The chimes to link to the doorbells to."
|
|
},
|
|
"doorbells": {
|
|
"name": "Doorbells",
|
|
"description": "The doorbells to link to the chime."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|