-
-
- ${this.hass.localize(
- "ui.panel.config.cloud.account.remote.strict_connection_copy_link"
- )}
- `,
+
+
+
+ ${this.hass.localize(
+ "ui.panel.config.cloud.account.remote.copy_link"
+ )}
+
+ `,
});
} catch (err: any) {
showAlertDialog(this, { text: err.message });
@@ -343,8 +454,8 @@ export class CloudRemotePref extends LitElement {
}
.header-actions {
position: absolute;
- right: 24px;
- inset-inline-end: 24px;
+ right: 16px;
+ inset-inline-end: 16px;
inset-inline-start: initial;
top: 24px;
display: flex;
@@ -378,17 +489,71 @@ export class CloudRemotePref extends LitElement {
.card-actions a {
text-decoration: none;
}
- ha-svg-icon {
- --mdc-icon-size: 18px;
- color: var(--secondary-text-color);
- cursor: pointer;
+ ha-expansion-panel {
+ margin-top: 16px;
}
- ha-formfield {
- margin-top: 8px;
+ ha-settings-row {
+ padding: 0;
}
ha-expansion-panel {
+ --expansion-panel-content-padding: 0 16px;
+ --expansion-panel-summary-padding: 0 16px;
+ }
+ ha-alert {
+ display: block;
+ margin-bottom: 16px;
+ }
+ .url-container {
+ display: flex;
+ align-items: center;
+ gap: 8px;
margin-top: 8px;
}
+ .textfield-container {
+ position: relative;
+ flex: 1;
+ }
+ .textfield-container ha-textfield {
+ display: block;
+ }
+ .toggle-unmasked-url {
+ position: absolute;
+ top: 8px;
+ right: 8px;
+ inset-inline-start: initial;
+ inset-inline-end: 8px;
+ --mdc-icon-button-size: 40px;
+ --mdc-icon-size: 20px;
+ color: var(--secondary-text-color);
+ direction: var(--direction);
+ }
+ ha-formfield {
+ margin-left: -12px;
+ margin-inline-start: -12px;
+ --ha-formfield-align-items: start;
+ }
+ .strict-connection-container {
+ gap: 16px;
+ display: flex;
+ flex-direction: column;
+ }
+ .strict-connection-container ha-formfield {
+ --ha-formfield-align-items: start;
+ }
+ .strict-connection-container .primary {
+ font-size: 14px;
+ margin-top: 12px;
+ }
+ .strict-connection-container .secondary {
+ color: var(--secondary-text-color);
+ font-size: 12px;
+ }
+ hr {
+ border: none;
+ height: 1px;
+ background-color: var(--divider-color);
+ margin: 8px 0;
+ }
`;
}
}
diff --git a/src/translations/en.json b/src/translations/en.json
index 8be6f084ac..892d8e6a7f 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -3821,38 +3821,42 @@
}
},
"remote": {
- "title": "Remote control",
+ "title": "Remote access",
"connected": "Connected",
"not_connected": "Not connected",
"reconnecting": "Not connected. Trying to reconnect.",
- "access_is_being_prepared": "Remote control is being prepared. We will notify you when it's ready.",
+ "access_is_being_prepared": "Remote access is being prepared. We will notify you when it's ready.",
"cerificate_loading": "Your certificate is loading.",
"cerificate_loaded": "Your certificate is loaded, waiting for validation.",
"cerificate_error": "There was an error generating the certificate, check your logs.",
- "info": "Home Assistant Cloud provides a secure remote connection to your instance while away from home.",
- "instance_is_available": "Your instance is available at your",
- "instance_will_be_available": "Your instance will be available at your",
+ "info": "Home Assistant Cloud provides a secure remote access to your instance while away from home. For more information on remote access and these settings visit our security documentation.",
+ "info_instance_will_be_available": "Your instance will be available at your Nabu Casa URL.",
"link_learn_how_it_works": "Learn how it works",
- "nabu_casa_url": "Nabu Casa URL",
- "advanced_options": "Advanced options",
- "external_activation": "Allow external activation of remote control",
- "external_activation_secondary": "Allows you to turn on remote control from your Nabu Casa account page, even if you're outside your local network",
- "strict_connection": "Restrict access to logged in users",
- "strict_connection_secondary": "When a user is not logged in to your Home Assistant instance, they will not be able to access your instance remotely",
- "strict_connection_mode": "Mode",
- "strict_connection_modes": {
- "disabled": "Disabled",
- "guard_page": "Guard page",
- "drop_connection": "Drop connection"
- },
- "strict_connection_link": "Create login link",
- "strict_connection_link_secondary": "You can create a link that will give temporary access to the login page.",
+ "show_url": "Show full URL",
+ "hide_url": "Hide URL",
+ "copy_link": "Copy link",
+ "security_options": "Security options",
+ "strict_connection": "Remote login access",
+ "strict_connection_secondary": "Choose what happens when new devices visit your remote access link.",
+ "strict_connection_option_disabled": "Show login page",
+ "strict_connection_option_disabled_secondary": "Any new device visiting your remote access link are presented with a login page.",
+ "strict_connection_option_guard_page": "Block remote logins",
+ "strict_connection_option_guard_page_secondary": "New devices must log in with a temporary access link. Devices accessing the link that are not logged in will be presented with a page explaining the restrictions.",
+ "strict_connection_option_guard_page_warning": "This prevents outsiders from trying to log in to your system but also your own devices if they have not logged in previously.",
+ "strict_connection_option_drop_connection": "Block remote logins and show nothing",
+ "strict_connection_option_drop_connection_secondary": "This is the same as the above setting but instead provides a blank page for additional security.",
+ "strict_connection_option_drop_connection_warning": "This prevents outsiders from snooping the remote web address and trying to log in, but it may appear as if there is no system running when users try to access it.",
+ "external_activation": "Allow external activation of remote access",
+ "external_activation_secondary": "If you disable remote access on this page, having this setting enabled allows you to reactivate it remotely via your Nabu Casa account.",
+ "drop_connection_warning_title": "Remote log in has been deactivated",
+ "drop_connection_warning": "The below security options may make it appear the system is not running.",
+ "strict_connection_link": "Provide temporary login access",
+ "strict_connection_link_secondary": "This provides a link for new devices to login for the next hour.",
"strict_connection_create_link": "Create link",
"strict_connection_link_created_message": "Give this link to the person you want to give remote access to the login page of your Home Assistant instance.",
- "strict_connection_copy_link": "Copy link",
- "certificate_info": "Certificate info",
- "certificate_expire": "Will be renewed at {date}",
- "more_info": "More info"
+ "certificate_info": "Certificate information",
+ "certificate_expire": "Certificate renewal at {date}",
+ "more_info": "More details"
},
"alexa": {
"title": "Alexa",