diff --git a/package.json b/package.json
index cb9175955eea..35e7d242bfd8 100644
--- a/package.json
+++ b/package.json
@@ -224,7 +224,7 @@
"object-hash": "3.0.0",
"open": "10.1.0",
"pinst": "3.0.0",
- "prettier": "3.2.5",
+ "prettier": "3.3.0",
"rollup": "2.79.1",
"rollup-plugin-string": "3.0.0",
"rollup-plugin-terser": "7.0.2",
diff --git a/pyproject.toml b/pyproject.toml
index a068c369bdf0..0a484fd42519 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "home-assistant-frontend"
-version = "20240604.0"
+version = "20240605.0"
license = {text = "Apache-2.0"}
description = "The Home Assistant frontend"
readme = "README.md"
diff --git a/src/data/update.ts b/src/data/update.ts
index 13c4b0d028ff..5423e4f47717 100644
--- a/src/data/update.ts
+++ b/src/data/update.ts
@@ -144,7 +144,7 @@ export const checkForEntityUpdates = async (
// there is no reliable way to know if all the updates are done updating, so we just wait a bit for now...
await new Promise((r) => {
- setTimeout(r, 10000);
+ setTimeout(r, 15000);
});
unsubscribeEvents();
diff --git a/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts b/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts
index c1fab545eda8..59e023723a4b 100644
--- a/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts
+++ b/src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts
@@ -215,10 +215,10 @@ export class HaVoiceCommandDialog extends LitElement {
@@ -355,7 +355,7 @@ export class HaVoiceCommandDialog extends LitElement {
private _handleSendMessage() {
if (this._messageInput.value) {
- this._processText(this._messageInput.value);
+ this._processText(this._messageInput.value.trim());
this._messageInput.value = "";
this._showSendButton = false;
}
@@ -427,34 +427,28 @@ export class HaVoiceCommandDialog extends LitElement {
private async _showNotSupportedMessage() {
this._addMessage({
who: "hass",
- text: html`
-
- ${this.hass.localize(
- "ui.dialogs.voice_command.not_supported_microphone_browser"
- )}
-
-
- ${this.hass.localize(
- "ui.dialogs.voice_command.not_supported_microphone_documentation",
- {
- documentation_link: html`
-
- ${this.hass.localize(
- "ui.dialogs.voice_command.not_supported_microphone_documentation_link"
- )}
-
- `,
- }
- )}
-
- `,
+ text:
+ // New lines matter for messages
+ // prettier-ignore
+ html`${this.hass.localize(
+ "ui.dialogs.voice_command.not_supported_microphone_browser"
+ )}
+
+ ${this.hass.localize(
+ "ui.dialogs.voice_command.not_supported_microphone_documentation",
+ {
+ documentation_link: html`
${this.hass.localize(
+ "ui.dialogs.voice_command.not_supported_microphone_documentation_link"
+ )}`,
+ }
+ )}`,
});
}
diff --git a/src/translations/en.json b/src/translations/en.json
index 23be084a37a0..f177a4627799 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -1113,7 +1113,7 @@
"start_listening": "Start listening",
"manage_assistants": "Manage assistants",
"not_supported_microphone_browser": "Your connection to Home Assistant is not secured using HTTPS. This causes browsers to block Home Assistant from accessing the microphone.",
- "not_supported_microphone_documentation": "Visit {documentation_link} to learn how to use a secure URL",
+ "not_supported_microphone_documentation": "Use the Home Assistant app or visit {documentation_link} to learn how to use a secure URL",
"not_supported_microphone_documentation_link": "the documentation"
},
"generic": {
diff --git a/yarn.lock b/yarn.lock
index 99be9a5c1730..95d65af22cc7 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -9086,7 +9086,7 @@ __metadata:
object-hash: "npm:3.0.0"
open: "npm:10.1.0"
pinst: "npm:3.0.0"
- prettier: "npm:3.2.5"
+ prettier: "npm:3.3.0"
proxy-polyfill: "npm:0.3.2"
punycode: "npm:2.3.1"
qr-scanner: "npm:1.4.2"
@@ -12110,12 +12110,12 @@ __metadata:
languageName: node
linkType: hard
-"prettier@npm:3.2.5":
- version: 3.2.5
- resolution: "prettier@npm:3.2.5"
+"prettier@npm:3.3.0":
+ version: 3.3.0
+ resolution: "prettier@npm:3.3.0"
bin:
prettier: bin/prettier.cjs
- checksum: 10/d509f9da0b70e8cacc561a1911c0d99ec75117faed27b95cc8534cb2349667dee6351b0ca83fa9d5703f14127faa52b798de40f5705f02d843da133fc3aa416a
+ checksum: 10/e55233f8e4b5f96f52180dbfa424ae797a98a9b8a9a7a79de5004e522c02b423e71927ed99d855dbfcd00dc3b82e5f6fb304cfe117cc4e7c8477d883df2d8984
languageName: node
linkType: hard