From 1df344580a96d7fc6cfdd72af2f863b2495ae774 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 5 Nov 2023 14:13:25 -0500
Subject: [PATCH 01/24] Update dependency eslint-plugin-lit-a11y to v4.1.1
(#18534)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
yarn.lock | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/package.json b/package.json
index 8cbcba7de5a7..f7ac5413eccb 100644
--- a/package.json
+++ b/package.json
@@ -204,7 +204,7 @@
"eslint-plugin-disable": "2.0.3",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-lit": "1.10.1",
- "eslint-plugin-lit-a11y": "4.1.0",
+ "eslint-plugin-lit-a11y": "4.1.1",
"eslint-plugin-unused-imports": "3.0.0",
"eslint-plugin-wc": "2.0.4",
"esprima": "4.0.1",
diff --git a/yarn.lock b/yarn.lock
index e7dbab201cd8..c9c4be3c5e0f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -8048,16 +8048,16 @@ __metadata:
languageName: node
linkType: hard
-"eslint-plugin-lit-a11y@npm:4.1.0":
- version: 4.1.0
- resolution: "eslint-plugin-lit-a11y@npm:4.1.0"
+"eslint-plugin-lit-a11y@npm:4.1.1":
+ version: 4.1.1
+ resolution: "eslint-plugin-lit-a11y@npm:4.1.1"
dependencies:
aria-query: "npm:^5.1.3"
axe-core: "npm:^4.3.3"
axobject-query: "npm:^2.2.0"
dom5: "npm:^3.0.1"
emoji-regex: "npm:^10.2.1"
- eslint-plugin-lit: "npm:^1.6.0"
+ eslint-plugin-lit: "npm:^1.10.1"
eslint-rule-extender: "npm:0.0.1"
language-tags: "npm:^1.0.5"
parse5: "npm:^7.1.2"
@@ -8065,11 +8065,11 @@ __metadata:
requireindex: "npm:~1.2.0"
peerDependencies:
eslint: ">= 5"
- checksum: 41c5b3a216552ea89c715a53d9b1d4e4ec1d3a8652d53896c77ce84daae059bb54f4cc4bef1842a7503d6db9ba9cee8423ce93803fbf6c363f3a0d98dcc81f20
+ checksum: f8d20e4e18ea9cf17c95546f878213d57f3eb9fd71a01ebae1b5d1689c0da7c35f0fe39137994717e600c3d12cfaa754ab3d4cdd854a6cf4d0a907ae898bc9a5
languageName: node
linkType: hard
-"eslint-plugin-lit@npm:1.10.1, eslint-plugin-lit@npm:^1.6.0":
+"eslint-plugin-lit@npm:1.10.1, eslint-plugin-lit@npm:^1.10.1":
version: 1.10.1
resolution: "eslint-plugin-lit@npm:1.10.1"
dependencies:
@@ -9757,7 +9757,7 @@ __metadata:
eslint-plugin-disable: "npm:2.0.3"
eslint-plugin-import: "npm:2.29.0"
eslint-plugin-lit: "npm:1.10.1"
- eslint-plugin-lit-a11y: "npm:4.1.0"
+ eslint-plugin-lit-a11y: "npm:4.1.1"
eslint-plugin-unused-imports: "npm:3.0.0"
eslint-plugin-wc: "npm:2.0.4"
esprima: "npm:4.0.1"
From 5ef6973933ad3298c5d3803674af3c185cc504ec Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 5 Nov 2023 14:14:50 -0500
Subject: [PATCH 02/24] Update dependency marked to v9.1.5 (#18523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
yarn.lock | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index f7ac5413eccb..a2f3a6841c9c 100644
--- a/package.json
+++ b/package.json
@@ -122,7 +122,7 @@
"leaflet-draw": "1.0.4",
"lit": "2.8.0",
"luxon": "3.4.3",
- "marked": "9.1.3",
+ "marked": "9.1.5",
"memoize-one": "6.0.0",
"node-vibrant": "3.2.1-alpha.1",
"proxy-polyfill": "0.3.2",
diff --git a/yarn.lock b/yarn.lock
index c9c4be3c5e0f..5ada42cb57d1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -9790,7 +9790,7 @@ __metadata:
luxon: "npm:3.4.3"
magic-string: "npm:0.30.5"
map-stream: "npm:0.0.7"
- marked: "npm:9.1.3"
+ marked: "npm:9.1.5"
memoize-one: "npm:6.0.0"
mocha: "npm:10.2.0"
node-vibrant: "npm:3.2.1-alpha.1"
@@ -11781,12 +11781,12 @@ __metadata:
languageName: node
linkType: hard
-"marked@npm:9.1.3":
- version: 9.1.3
- resolution: "marked@npm:9.1.3"
+"marked@npm:9.1.5":
+ version: 9.1.5
+ resolution: "marked@npm:9.1.5"
bin:
marked: bin/marked.js
- checksum: edfa85287dcd00d04221848d211f2d33376590dc91004d115b2e7646fb16408ce604224db42ce2245730f164c41892186053ccd7bbe1ce5d4dfc1edcf22e15ae
+ checksum: 308cacc0c2678d0cc79f33ede75bf73fde85302d447c0fc2df3e4d66343f1dda10297ea8bd0d990ecdeac1d15eb3565ca7cb4f224b3de8b6adb002dd6ca1acf8
languageName: node
linkType: hard
From c45c8ab5c07e294a95278bdb403a70ebe0a00827 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 5 Nov 2023 14:16:21 -0500
Subject: [PATCH 03/24] Update dependency sinon to v17.0.1 (#18535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
yarn.lock | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index a2f3a6841c9c..6ca9cb321abc 100644
--- a/package.json
+++ b/package.json
@@ -236,7 +236,7 @@
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-visualizer": "5.9.2",
"serve-handler": "6.1.5",
- "sinon": "17.0.0",
+ "sinon": "17.0.1",
"source-map-url": "0.4.1",
"systemjs": "6.14.2",
"tar": "6.2.0",
diff --git a/yarn.lock b/yarn.lock
index 5ada42cb57d1..9f1699307ce1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -9810,7 +9810,7 @@ __metadata:
rollup-plugin-visualizer: "npm:5.9.2"
rrule: "npm:2.7.2"
serve-handler: "npm:6.1.5"
- sinon: "npm:17.0.0"
+ sinon: "npm:17.0.1"
sortablejs: "npm:1.15.0"
source-map-url: "npm:0.4.1"
stacktrace-js: "npm:2.0.2"
@@ -14387,9 +14387,9 @@ __metadata:
languageName: node
linkType: hard
-"sinon@npm:17.0.0":
- version: 17.0.0
- resolution: "sinon@npm:17.0.0"
+"sinon@npm:17.0.1":
+ version: 17.0.1
+ resolution: "sinon@npm:17.0.1"
dependencies:
"@sinonjs/commons": "npm:^3.0.0"
"@sinonjs/fake-timers": "npm:^11.2.2"
@@ -14397,7 +14397,7 @@ __metadata:
diff: "npm:^5.1.0"
nise: "npm:^5.1.5"
supports-color: "npm:^7.2.0"
- checksum: ffc1507a551acf15588b0420ba548274ffec2556211a2979df11476630a1d1769c6398ee4bcd56413c716c01c52fa4561e11761d24de57095728ad194e597893
+ checksum: b34f1a97da0be3556ac686c6b649a566c2666eb7f50e75e754928c1c72c96d78f56e56a999227be794c3d9cdaed0bc78d11f38ab303d3079c5bcbcffc0f9c6d5
languageName: node
linkType: hard
From 9e4bb6ed0c00ed4781fa747e580a867317747de8 Mon Sep 17 00:00:00 2001
From: Kendell R
Date: Mon, 6 Nov 2023 01:02:00 -0800
Subject: [PATCH 04/24] Fix "ttme" typo on the demo page (#18543)
---
src/translations/en.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/translations/en.json b/src/translations/en.json
index 4120fee79044..7ec2605437f5 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -5676,7 +5676,7 @@
"hdmi_input": "HDMI input",
"hdmi_switcher": "HDMI switcher",
"volume": "Volume",
- "total_tv_time": "Total TV Ttme",
+ "total_tv_time": "Total TV Time",
"turn_tv_off": "Turn television off",
"air": "Air"
},
From e09a6a23fc0999ecf297d62335c084f1b784f04b Mon Sep 17 00:00:00 2001
From: tzagim <2285958+tzagim@users.noreply.github.com>
Date: Mon, 6 Nov 2023 11:02:44 +0200
Subject: [PATCH 05/24] Fix for RTL (#18509)
---
.../components/climate/ha-more-info-climate-temperature.ts | 1 +
src/dialogs/more-info/controls/more-info-climate.ts | 1 +
src/dialogs/more-info/controls/more-info-humidifier.ts | 1 +
src/dialogs/more-info/controls/more-info-water_heater.ts | 1 +
src/dialogs/more-info/controls/more-info-weather.ts | 1 +
5 files changed, 5 insertions(+)
diff --git a/src/dialogs/more-info/components/climate/ha-more-info-climate-temperature.ts b/src/dialogs/more-info/components/climate/ha-more-info-climate-temperature.ts
index f0b1954f5581..c03f63f57e97 100644
--- a/src/dialogs/more-info/components/climate/ha-more-info-climate-temperature.ts
+++ b/src/dialogs/more-info/components/climate/ha-more-info-climate-temperature.ts
@@ -415,6 +415,7 @@ export class HaMoreInfoClimateTemperature extends LitElement {
line-height: 64px;
letter-spacing: -0.25px;
margin: 0;
+ direction: ltr;
}
.temperature span {
display: inline-flex;
diff --git a/src/dialogs/more-info/controls/more-info-climate.ts b/src/dialogs/more-info/controls/more-info-climate.ts
index c1e4cb0999ef..173fe7905a7f 100644
--- a/src/dialogs/more-info/controls/more-info-climate.ts
+++ b/src/dialogs/more-info/controls/more-info-climate.ts
@@ -434,6 +434,7 @@ class MoreInfoClimate extends LitElement {
font-size: 22px;
font-weight: 500;
line-height: 28px;
+ direction: ltr;
}
ha-select {
width: 100%;
diff --git a/src/dialogs/more-info/controls/more-info-humidifier.ts b/src/dialogs/more-info/controls/more-info-humidifier.ts
index d919753c86ba..25b8e60e0bcc 100644
--- a/src/dialogs/more-info/controls/more-info-humidifier.ts
+++ b/src/dialogs/more-info/controls/more-info-humidifier.ts
@@ -250,6 +250,7 @@ class MoreInfoHumidifier extends LitElement {
font-size: 22px;
font-weight: 500;
line-height: 28px;
+ direction: ltr;
}
`,
];
diff --git a/src/dialogs/more-info/controls/more-info-water_heater.ts b/src/dialogs/more-info/controls/more-info-water_heater.ts
index 99269b6e2c4b..3e0a77fa5cb5 100644
--- a/src/dialogs/more-info/controls/more-info-water_heater.ts
+++ b/src/dialogs/more-info/controls/more-info-water_heater.ts
@@ -243,6 +243,7 @@ class MoreInfoWaterHeater extends LitElement {
font-size: 22px;
font-weight: 500;
line-height: 28px;
+ direction: ltr;
}
`,
];
diff --git a/src/dialogs/more-info/controls/more-info-weather.ts b/src/dialogs/more-info/controls/more-info-weather.ts
index 5da649ae4f0e..7e1bd84c2b3e 100644
--- a/src/dialogs/more-info/controls/more-info-weather.ts
+++ b/src/dialogs/more-info/controls/more-info-weather.ts
@@ -356,6 +356,7 @@ class MoreInfoWeather extends LitElement {
.templow {
min-width: 48px;
text-align: right;
+ direction: ltr;
}
.templow {
From 3d03f74d6604623cbf55556b6ba413745a0e9d9b Mon Sep 17 00:00:00 2001
From: karwosts <32912880+karwosts@users.noreply.github.com>
Date: Mon, 6 Nov 2023 01:04:58 -0800
Subject: [PATCH 06/24] Improve template trigger/condition descriptions
(#18504)
---
src/data/automation_i18n.ts | 6 ++++++
src/translations/en.json | 7 +++++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/data/automation_i18n.ts b/src/data/automation_i18n.ts
index 6e18baeef085..3e6656d5d8fe 100644
--- a/src/data/automation_i18n.ts
+++ b/src/data/automation_i18n.ts
@@ -1090,6 +1090,12 @@ const tryDescribeCondition = (
}`;
}
+ if (condition.condition === "template") {
+ return hass.localize(
+ `${conditionsTranslationBaseKey}.template.description.full`
+ );
+ }
+
if (condition.condition === "trigger" && condition.id != null) {
return hass.localize(
`${conditionsTranslationBaseKey}.trigger.description.full`,
diff --git a/src/translations/en.json b/src/translations/en.json
index 7ec2605437f5..907445f5b42a 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -2532,7 +2532,7 @@
"value_template": "Value template",
"for": "For",
"description": {
- "full": "When a template triggers{hasDuration, select, \n true { for {duration}} \n other {}\n }"
+ "full": "When a template changes from false to true{hasDuration, select, \n true { for {duration}} \n other {}\n }"
}
},
"time": {
@@ -2662,7 +2662,10 @@
},
"template": {
"label": "[%key:ui::panel::config::automation::editor::triggers::type::template::label%]",
- "value_template": "[%key:ui::panel::config::automation::editor::triggers::type::template::value_template%]"
+ "value_template": "[%key:ui::panel::config::automation::editor::triggers::type::template::value_template%]",
+ "description": {
+ "full": "Test if template renders a value equal to true"
+ }
},
"time": {
"type_value": "[%key:ui::panel::config::automation::editor::triggers::type::time::type_value%]",
From a7f6ce307980c8e529412b7d2ee9f2d0cf3966d6 Mon Sep 17 00:00:00 2001
From: Simon Lamon <32477463+silamon@users.noreply.github.com>
Date: Mon, 6 Nov 2023 15:53:23 +0100
Subject: [PATCH 07/24] Fix refresh in developer state tools (#18532)
---
src/panels/developer-tools/state/developer-tools-state.ts | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/panels/developer-tools/state/developer-tools-state.ts b/src/panels/developer-tools/state/developer-tools-state.ts
index a47960a44288..ba32df918f23 100644
--- a/src/panels/developer-tools/state/developer-tools-state.ts
+++ b/src/panels/developer-tools/state/developer-tools-state.ts
@@ -167,7 +167,7 @@ class HaPanelDevState extends LitElement {
)}
@@ -349,6 +349,10 @@ class HaPanelDevState extends LitElement {
private _entityIdChanged(ev: CustomEvent) {
this._entityId = ev.detail.value;
+ this._updateEntity();
+ }
+
+ private _updateEntity() {
if (!this._entityId) {
this._entity = undefined;
this._state = "";
From aafdf7bed79bb714e126cee39afbb9735045f661 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 6 Nov 2023 15:55:24 +0100
Subject: [PATCH 08/24] Update dependency vis-network to v9.1.9 (#18548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
yarn.lock | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index 6ca9cb321abc..fe0efd7b0735 100644
--- a/package.json
+++ b/package.json
@@ -141,7 +141,7 @@
"ua-parser-js": "1.0.37",
"unfetch": "5.0.0",
"vis-data": "7.1.7",
- "vis-network": "9.1.8",
+ "vis-network": "9.1.9",
"vue": "2.7.15",
"vue2-daterange-picker": "0.6.8",
"weekstart": "2.0.0",
diff --git a/yarn.lock b/yarn.lock
index 9f1699307ce1..4bd84d7d167e 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -9828,7 +9828,7 @@ __metadata:
vinyl-buffer: "npm:1.0.1"
vinyl-source-stream: "npm:2.0.0"
vis-data: "npm:7.1.7"
- vis-network: "npm:9.1.8"
+ vis-network: "npm:9.1.9"
vue: "npm:2.7.15"
vue2-daterange-picker: "npm:0.6.8"
webpack: "npm:5.89.0"
@@ -16050,9 +16050,9 @@ __metadata:
languageName: node
linkType: hard
-"vis-network@npm:9.1.8":
- version: 9.1.8
- resolution: "vis-network@npm:9.1.8"
+"vis-network@npm:9.1.9":
+ version: 9.1.9
+ resolution: "vis-network@npm:9.1.9"
peerDependencies:
"@egjs/hammerjs": ^2.0.0
component-emitter: ^1.3.0
@@ -16060,7 +16060,7 @@ __metadata:
uuid: ^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
vis-data: ^6.3.0 || ^7.0.0
vis-util: ^5.0.1
- checksum: ea46410d8f85258f25c18f03653cc6c6a5156fa1b079bf4a7cab4defbbe40ac102961a8dddaaf92639b15291472dc5f3d9e3bffbbc52e1be17a35169c0e62b87
+ checksum: 929b2645ff62645d030e6a03f2f618d0e66c9a83782c4f6f3257160d48ea49fc06eb62403762b010eb07d137bee72a1bd62e5c58ebbfb9091dbb3ca1f8f1887d
languageName: node
linkType: hard
From 0cc38278b9f523c10fea0e6d34ba0a847190552f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 6 Nov 2023 15:56:45 +0100
Subject: [PATCH 09/24] Update dependency @lit-labs/virtualizer to v2.0.10
(#18547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package.json | 2 +-
yarn.lock | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index fe0efd7b0735..1c4d76e955c9 100644
--- a/package.json
+++ b/package.json
@@ -53,7 +53,7 @@
"@lit-labs/context": "0.4.1",
"@lit-labs/motion": "1.0.6",
"@lit-labs/observers": "2.0.2",
- "@lit-labs/virtualizer": "2.0.9",
+ "@lit-labs/virtualizer": "2.0.10",
"@lrnwebcomponents/simple-tooltip": "7.0.18",
"@material/chips": "=14.0.0-canary.53b3cad2f.0",
"@material/data-table": "=14.0.0-canary.53b3cad2f.0",
diff --git a/yarn.lock b/yarn.lock
index 4bd84d7d167e..863b07d72f53 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2122,13 +2122,13 @@ __metadata:
languageName: node
linkType: hard
-"@lit-labs/virtualizer@npm:2.0.9":
- version: 2.0.9
- resolution: "@lit-labs/virtualizer@npm:2.0.9"
+"@lit-labs/virtualizer@npm:2.0.10":
+ version: 2.0.10
+ resolution: "@lit-labs/virtualizer@npm:2.0.10"
dependencies:
lit: "npm:^2 || ^3"
tslib: "npm:^2.0.3"
- checksum: d638997118b6757f47b6b5aab6eaa217fc0f9771af5008e79e136b5cd176fc490f055ea26ec3c851e1789b866e37e36827a5a34a86aee554c38d86982dc34205
+ checksum: 30f08ee582809d6ef27b50c2cd799ebe362dcfd276ef511c0ebaf5707fd75152cb8705c4125c775a7ea943a76d7fa162f0300a33cf75d8aa701387a3ffa41d56
languageName: node
linkType: hard
@@ -9656,7 +9656,7 @@ __metadata:
"@lit-labs/context": "npm:0.4.1"
"@lit-labs/motion": "npm:1.0.6"
"@lit-labs/observers": "npm:2.0.2"
- "@lit-labs/virtualizer": "npm:2.0.9"
+ "@lit-labs/virtualizer": "npm:2.0.10"
"@lokalise/node-api": "npm:12.0.0"
"@lrnwebcomponents/simple-tooltip": "npm:7.0.18"
"@material/chips": "npm:=14.0.0-canary.53b3cad2f.0"
From 589e3b63c71c6434f2375a3614827b2feedba8e8 Mon Sep 17 00:00:00 2001
From: David Bell
Date: Tue, 7 Nov 2023 02:09:54 +1100
Subject: [PATCH 10/24] Don't display hidden/non-visible calendars on the
Calendar panel (#18541)
---
src/data/calendar.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/data/calendar.ts b/src/data/calendar.ts
index 178ef3544ece..85efa30686af 100644
--- a/src/data/calendar.ts
+++ b/src/data/calendar.ts
@@ -139,7 +139,8 @@ export const getCalendars = (hass: HomeAssistant): Calendar[] =>
.filter(
(eid) =>
computeDomain(eid) === "calendar" &&
- !isUnavailableState(hass.states[eid].state)
+ !isUnavailableState(hass.states[eid].state) &&
+ hass.entities[eid]?.hidden !== true
)
.sort()
.map((eid, idx) => ({
From 39550cefa03284390bf1d01ba2bbd69eb0cbad92 Mon Sep 17 00:00:00 2001
From: Steve Repsher
Date: Tue, 7 Nov 2023 05:53:47 -0500
Subject: [PATCH 11/24] Add some Renovate groups and enable NVM updates
(#18559)
---
.nvmrc | 2 +-
renovate.json | 14 +++++++++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.nvmrc b/.nvmrc
index 209e3ef4b624..9de2256827ae 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-20
+lts/iron
diff --git a/renovate.json b/renovate.json
index f6e9e56c4fb7..741ef2c4998c 100644
--- a/renovate.json
+++ b/renovate.json
@@ -1,5 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "configMigration": true,
"extends": [
":ignoreModulesAndTests",
":label(Dependencies)",
@@ -10,7 +11,7 @@
"group:recommended",
"npm:unpublishSafe"
],
- "enabledManagers": ["npm"],
+ "enabledManagers": ["npm", "nvm"],
"postUpdateOptions": ["yarnDedupeHighest"],
"lockFileMaintenance": {
"description": ["Run after patch releases but before next beta"],
@@ -28,11 +29,22 @@
"matchPackageNames": ["vue"],
"allowedVersions": "< 3"
},
+ {
+ "description": "Group MDI packages",
+ "groupName": "Material Design Icons",
+ "matchPackageNames": ["@mdi/js", "@mdi/svg"]
+ },
{
"description": "Group tsparticles engine and presets",
"groupName": "tsparticles",
"matchPackageNames": ["tsparticles-engine"],
"matchPackagePrefixes": ["tsparticles-preset-"]
+ },
+ {
+ "description": "Group and temporarily disable WDS packages",
+ "groupName": "Web Dev Server",
+ "matchPackagePrefixes": ["@web/dev-server"],
+ "enabled": false
}
]
}
From 8bdbe8c6a608acb4ef7573388be5cacf92ad9257 Mon Sep 17 00:00:00 2001
From: Paul Bottein
Date: Tue, 7 Nov 2023 12:04:04 +0100
Subject: [PATCH 12/24] Use strict comparison for above condition in
conditional card (#18560)
---
src/panels/lovelace/common/validate-condition.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/panels/lovelace/common/validate-condition.ts b/src/panels/lovelace/common/validate-condition.ts
index 3a63aa071816..861295064a77 100644
--- a/src/panels/lovelace/common/validate-condition.ts
+++ b/src/panels/lovelace/common/validate-condition.ts
@@ -83,7 +83,7 @@ function checkStateNumericCondition(
return (
(condition.above == null || condition.above < numericState) &&
- (condition.below == null || condition.below >= numericState)
+ (condition.below == null || condition.below > numericState)
);
}
From fd9c24d05e51adad31bf1845809dcf78634f7bb1 Mon Sep 17 00:00:00 2001
From: Jan Bouwhuis
Date: Tue, 7 Nov 2023 12:04:53 +0100
Subject: [PATCH 13/24] Add localization to service call exceptions (#18447)
---
src/data/translation.ts | 1 +
src/state/connection-mixin.ts | 21 +++++++++++++++------
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/src/data/translation.ts b/src/data/translation.ts
index bc8165578a99..e4824b0e636f 100644
--- a/src/data/translation.ts
+++ b/src/data/translation.ts
@@ -61,6 +61,7 @@ export type TranslationCategory =
| "state"
| "entity"
| "entity_component"
+ | "exceptions"
| "config"
| "config_panel"
| "options"
diff --git a/src/state/connection-mixin.ts b/src/state/connection-mixin.ts
index c3cced5705c8..2ba9833bd69e 100644
--- a/src/state/connection-mixin.ts
+++ b/src/state/connection-mixin.ts
@@ -122,18 +122,27 @@ export const connectionMixin = >(
}
if (notifyOnError) {
forwardHaptic("failure");
+ const lokalize = await this.hass!.loadBackendTranslation(
+ "exceptions",
+ err.translation_domain
+ );
+ const localizedErrorMessage = lokalize(
+ `component.${err.translation_domain}.exceptions.${err.translation_key}.message`,
+ err.translation_placeholders
+ );
const message =
+ localizedErrorMessage ||
(this as any).hass.localize(
"ui.notification_toast.service_call_failed",
"service",
`${domain}/${service}`
) +
- ` ${
- err.message ||
- (err.error?.code === ERR_CONNECTION_LOST
- ? "connection lost"
- : "unknown error")
- }`;
+ ` ${
+ err.message ||
+ (err.error?.code === ERR_CONNECTION_LOST
+ ? "connection lost"
+ : "unknown error")
+ }`;
fireEvent(this as any, "hass-notification", { message });
}
throw err;
From aa0419e7839590f5638b57e01093f5377c0b69c3 Mon Sep 17 00:00:00 2001
From: Kendell R
Date: Tue, 7 Nov 2023 04:39:38 -0800
Subject: [PATCH 14/24] Minify logos (#18542)
---
demo/src/html/index.html.template | 16 +++-------------
public/static/icons/mask-icon.svg | 24 +-----------------------
src/components/ha-logo-svg.ts | 14 +++++---------
src/html/authorize.html.template | 23 ++++-------------------
src/html/index.html.template | 16 +++-------------
src/resources/home-assistant-logo-svg.ts | 2 +-
6 files changed, 17 insertions(+), 78 deletions(-)
diff --git a/demo/src/html/index.html.template b/demo/src/html/index.html.template
index 89236790afdb..c2be4e7cc39c 100644
--- a/demo/src/html/index.html.template
+++ b/demo/src/html/index.html.template
@@ -74,19 +74,9 @@
diff --git a/public/static/icons/mask-icon.svg b/public/static/icons/mask-icon.svg
index 66db74fcc819..0993bef4cc83 100644
--- a/public/static/icons/mask-icon.svg
+++ b/public/static/icons/mask-icon.svg
@@ -1,23 +1 @@
-
-
-
+
\ No newline at end of file
diff --git a/src/components/ha-logo-svg.ts b/src/components/ha-logo-svg.ts
index 532c002c6704..1f34735ac6e2 100644
--- a/src/components/ha-logo-svg.ts
+++ b/src/components/ha-logo-svg.ts
@@ -4,18 +4,14 @@ import { customElement } from "lit/decorators";
@customElement("ha-logo-svg")
export class HaLogoSvg extends LitElement {
protected render(): TemplateResult {
- return html`