From 9cb168c439f9da43843348b315b93afe8a20bcfc Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 2 Nov 2022 05:10:23 -0400 Subject: [PATCH 1/5] Set default unit for US unit system to gl instead of ft3 (#14257) Mention gl instead of ft3 --- src/translations/en.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/translations/en.json b/src/translations/en.json index cbaf518987..23a491fe9f 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1511,16 +1511,16 @@ "dialog": { "header": "Configure water consumption", "paragraph": "Gas consumption is the volume of water that flows to your home.", - "energy_stat": "Consumed water (m³/ft³)", + "energy_stat": "Consumed water (m³ or gl)", "cost_para": "Select how Home Assistant should keep track of the costs of the consumed water.", "no_cost": "Do not track costs", "cost_stat": "Use an entity tracking the total costs", "cost_stat_input": "Total Costs Entity", "cost_entity": "Use an entity with current price", - "cost_entity_input": "Entity with the current price per m³", + "cost_entity_input": "Entity with the current price per m³ or gl", "cost_number": "Use a static price", - "cost_number_input": "Price per m³", - "water_usage": "Water usage (m³/ft³)" + "cost_number_input": "Price per m³ or gl", + "water_usage": "Water usage (m³ or gl)" } }, "device_consumption": { From 8cb0d38d78a325b78063a2819b691b2ea7eec6d3 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 2 Nov 2022 10:11:50 +0100 Subject: [PATCH 2/5] Fix back button on subview (#14251) --- src/panels/lovelace/hui-root.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index e574a842f1..8867c59097 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -747,10 +747,10 @@ class HUIRoot extends LitElement { if (curViewConfig?.back_path) { navigate(curViewConfig.back_path); - } else if (history.length > 0) { + } else if (history.length > 1) { history.back(); } else { - navigate(views[0].path!); + navigate(this.route!.prefix); } } From 1cde9e882e5d466e1d8558d5d19d1a06f760e0a2 Mon Sep 17 00:00:00 2001 From: Yosi Levy <37745463+yosilevy@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:14:50 +0200 Subject: [PATCH 3/5] Audio message trash fix (#14250) --- src/panels/mailbox/ha-dialog-show-audio-message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/mailbox/ha-dialog-show-audio-message.js b/src/panels/mailbox/ha-dialog-show-audio-message.js index 83d3d5bdf0..8c199763f9 100644 --- a/src/panels/mailbox/ha-dialog-show-audio-message.js +++ b/src/panels/mailbox/ha-dialog-show-audio-message.js @@ -23,7 +23,7 @@ class HaDialogShowAudioMessage extends LocalizeMixin(PolymerElement) { color: var(--secondary-text-color); } .icon { - text-align: right; + text-align: var(--float-end); } Date: Wed, 2 Nov 2022 05:16:05 -0400 Subject: [PATCH 4/5] Fix dialog resizing (#14256) --- src/dialogs/more-info/ha-more-info-dialog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/more-info/ha-more-info-dialog.ts b/src/dialogs/more-info/ha-more-info-dialog.ts index ca01aac40c..e1e9df7dc0 100644 --- a/src/dialogs/more-info/ha-more-info-dialog.ts +++ b/src/dialogs/more-info/ha-more-info-dialog.ts @@ -315,7 +315,7 @@ export class MoreInfoDialog extends LitElement { cursor: default; } - :host([tab="info"][large]) { + :host([tab="info"][large]) ha-dialog { --mdc-dialog-min-width: 90vw; --mdc-dialog-max-width: 90vw; } From a5ab4eaf0e865ec64a926060c11e935de4046496 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 2 Nov 2022 10:33:32 +0100 Subject: [PATCH 5/5] Bumped version to 20221102.0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 900493bc2c..7ff7a2fb4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "home-assistant-frontend" -version = "20221031.0" +version = "20221102.0" license = {text = "Apache-2.0"} description = "The Home Assistant frontend" readme = "README.md"