mirror of
https://github.com/home-assistant/core.git
synced 2026-06-03 22:24:02 +01:00
c8bfe56975
Co-authored-by: RaHehl <rahehl@users.noreply.github.com>
205 lines
6.3 KiB
JSON
205 lines
6.3 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
|
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"protect_api_key": "This API key is associated with UniFi Protect, not UniFi Access. Please generate a new API key from the UniFi Access application settings.",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"step": {
|
|
"discovery_confirm": {
|
|
"data": {
|
|
"api_token": "[%key:common::config_flow::data::api_token%]",
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
|
|
},
|
|
"data_description": {
|
|
"api_token": "[%key:component::unifi_access::config::step::user::data_description::api_token%]",
|
|
"verify_ssl": "[%key:component::unifi_access::config::step::user::data_description::verify_ssl%]"
|
|
},
|
|
"description": "A UniFi Access controller was discovered at {ip_address} ({name})."
|
|
},
|
|
"reauth_confirm": {
|
|
"data": {
|
|
"api_token": "[%key:common::config_flow::data::api_token%]"
|
|
},
|
|
"data_description": {
|
|
"api_token": "[%key:component::unifi_access::config::step::user::data_description::api_token%]"
|
|
},
|
|
"description": "The API token for UniFi Access at {host} is invalid. Please provide a new token."
|
|
},
|
|
"reconfigure": {
|
|
"data": {
|
|
"api_token": "[%key:common::config_flow::data::api_token%]",
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
|
|
},
|
|
"data_description": {
|
|
"api_token": "[%key:component::unifi_access::config::step::user::data_description::api_token%]",
|
|
"host": "[%key:component::unifi_access::config::step::user::data_description::host%]",
|
|
"verify_ssl": "[%key:component::unifi_access::config::step::user::data_description::verify_ssl%]"
|
|
},
|
|
"description": "Update the connection settings of this UniFi Access controller."
|
|
},
|
|
"user": {
|
|
"data": {
|
|
"api_token": "[%key:common::config_flow::data::api_token%]",
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
|
|
},
|
|
"data_description": {
|
|
"api_token": "API token generated in the UniFi Access settings.",
|
|
"host": "Hostname or IP address of the UniFi Access controller.",
|
|
"verify_ssl": "Verify the SSL certificate of the controller."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"button": {
|
|
"unlock": {
|
|
"name": "Unlock"
|
|
}
|
|
},
|
|
"event": {
|
|
"access": {
|
|
"name": "Access",
|
|
"state_attributes": {
|
|
"event_type": {
|
|
"state": {
|
|
"access_denied": "Access denied",
|
|
"access_granted": "Access granted"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"doorbell": {
|
|
"name": "Doorbell",
|
|
"state_attributes": {
|
|
"event_type": {
|
|
"state": {
|
|
"ring": "Ring"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"image": {
|
|
"door_thumbnail": {
|
|
"name": "Thumbnail"
|
|
}
|
|
},
|
|
"select": {
|
|
"door_lock_rule": {
|
|
"name": "Lock rule",
|
|
"state": {
|
|
"custom": "Custom",
|
|
"keep_lock": "Keep locked",
|
|
"keep_unlock": "Keep unlocked",
|
|
"lock_early": "Lock early",
|
|
"reset": "Reset",
|
|
"schedule": "Schedule"
|
|
}
|
|
}
|
|
},
|
|
"sensor": {
|
|
"door_lock_rule": {
|
|
"name": "Lock rule",
|
|
"state": {
|
|
"custom": "Custom",
|
|
"keep_lock": "Locked",
|
|
"keep_unlock": "Unlocked",
|
|
"lock_early": "Lock early",
|
|
"lock_now": "Lock now",
|
|
"reset": "Reset",
|
|
"schedule": "Schedule"
|
|
}
|
|
},
|
|
"door_lock_rule_ended_time": {
|
|
"name": "Rule end time"
|
|
}
|
|
},
|
|
"switch": {
|
|
"evacuation": {
|
|
"name": "Evacuation"
|
|
},
|
|
"lockdown": {
|
|
"name": "Lockdown"
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"auth_failed": {
|
|
"message": "Authentication failed for UniFi Access at {host}."
|
|
},
|
|
"cannot_connect": {
|
|
"message": "Unable to connect to UniFi Access at {host}."
|
|
},
|
|
"emergency_failed": {
|
|
"message": "Failed to set emergency status."
|
|
},
|
|
"fetch_thumbnail_failed": {
|
|
"message": "Failed to fetch door thumbnail."
|
|
},
|
|
"invalid_lock_rule_type": {
|
|
"message": "The provided lock rule type is invalid."
|
|
},
|
|
"invalid_target": {
|
|
"message": "The selected device is not a UniFi Access door."
|
|
},
|
|
"lock_rule_failed": {
|
|
"message": "Failed to update the door lock rule."
|
|
},
|
|
"unlock_failed": {
|
|
"message": "Failed to unlock the door."
|
|
},
|
|
"update_failed_api": {
|
|
"message": "Error communicating with the UniFi Access API."
|
|
},
|
|
"update_failed_auth": {
|
|
"message": "Authentication failed while updating data."
|
|
},
|
|
"update_failed_connection": {
|
|
"message": "Error connecting to the UniFi Access API."
|
|
},
|
|
"update_failed_timeout": {
|
|
"message": "Timeout communicating with the UniFi Access API."
|
|
}
|
|
},
|
|
"selector": {
|
|
"rule": {
|
|
"options": {
|
|
"custom": "Custom",
|
|
"keep_lock": "Keep locked",
|
|
"keep_unlock": "Keep unlocked",
|
|
"lock_early": "Lock early",
|
|
"reset": "Reset"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"set_lock_rule": {
|
|
"description": "Apply a temporary lock rule to a UniFi Access door.",
|
|
"fields": {
|
|
"device_id": {
|
|
"description": "The UniFi Access door to update.",
|
|
"name": "Door"
|
|
},
|
|
"interval": {
|
|
"description": "How long the rule stays active. Defaults to 10 minutes.",
|
|
"name": "Interval"
|
|
},
|
|
"rule": {
|
|
"description": "The lock rule to apply.",
|
|
"name": "Rule"
|
|
}
|
|
},
|
|
"name": "Set lock rule"
|
|
}
|
|
}
|
|
}
|