From 072ad878311c294408527fd4c8935e76aca25c5e Mon Sep 17 00:00:00 2001
From: Bram Kragten
Date: Thu, 2 Jul 2020 20:09:58 +0200
Subject: [PATCH 01/58] Prevent doing yaml conversion twice (#6308)
---
.../editor/card-editor/hui-card-editor.ts | 32 ++++++++++++++-----
1 file changed, 24 insertions(+), 8 deletions(-)
diff --git a/src/panels/lovelace/editor/card-editor/hui-card-editor.ts b/src/panels/lovelace/editor/card-editor/hui-card-editor.ts
index 0f58b84822..74d3d02511 100644
--- a/src/panels/lovelace/editor/card-editor/hui-card-editor.ts
+++ b/src/panels/lovelace/editor/card-editor/hui-card-editor.ts
@@ -24,6 +24,7 @@ import type { EntityConfig } from "../../entity-rows/types";
import type { LovelaceCardEditor } from "../../types";
import type { GUIModeChangedEvent } from "../types";
import "../../../../components/ha-circular-progress";
+import { deepEqual } from "../../../../common/util/deep-equal";
export interface ConfigChangedEvent {
config: LovelaceCardConfig;
@@ -81,16 +82,11 @@ export class HuiCardEditor extends LitElement {
this._yaml = _yaml;
try {
this._config = safeLoad(this.yaml);
- this._updateConfigElement();
this._error = undefined;
} catch (err) {
this._error = err.message;
}
- fireEvent(this, "config-changed", {
- config: this.value!,
- error: this._error,
- guiModeAvailable: !(this.hasWarning || this.hasError),
- });
+ this._setConfig();
}
public get value(): LovelaceCardConfig | undefined {
@@ -98,9 +94,29 @@ export class HuiCardEditor extends LitElement {
}
public set value(config: LovelaceCardConfig | undefined) {
- if (JSON.stringify(config) !== JSON.stringify(this._config || {})) {
- this.yaml = safeDump(config);
+ if (this._config && deepEqual(config, this._config)) {
+ return;
}
+ this._config = config;
+ this._yaml = safeDump(config);
+ this._error = undefined;
+ this._setConfig();
+ }
+
+ private _setConfig() {
+ if (!this._error) {
+ try {
+ this._updateConfigElement();
+ this._error = undefined;
+ } catch (err) {
+ this._error = err.message;
+ }
+ }
+ fireEvent(this, "config-changed", {
+ config: this.value!,
+ error: this._error,
+ guiModeAvailable: !(this.hasWarning || this.hasError),
+ });
}
public get hasWarning(): boolean {
From 6c73392a57000dd2a0cbc7ea0f8c607dcf7c4d67 Mon Sep 17 00:00:00 2001
From: Bram Kragten
Date: Thu, 2 Jul 2020 23:18:11 +0200
Subject: [PATCH 02/58] Bump mdc and mwc elements (#6313)
* Bump mdc to stable 7.0.0
* Bump mdc and mwc
* Update ha-config-logs.ts
* Correct changed radius variable
---
package.json | 39 +-
src/panels/config/logs/ha-config-logs.ts | 4 +-
src/resources/styles.ts | 2 +-
yarn.lock | 639 +++++++++++------------
4 files changed, 314 insertions(+), 370 deletions(-)
diff --git a/package.json b/package.json
index 87a988abf4..403b5d5d79 100644
--- a/package.json
+++ b/package.json
@@ -25,18 +25,18 @@
"@formatjs/intl-pluralrules": "^1.5.8",
"@fullcalendar/core": "^5.0.0-beta.2",
"@fullcalendar/daygrid": "^5.0.0-beta.2",
- "@material/chips": "7.0.0-canary.d92d8c93e.0",
- "@material/circular-progress": "7.0.0-canary.d92d8c93e.0",
- "@material/mwc-button": "^0.15.0",
- "@material/mwc-checkbox": "^0.15.0",
- "@material/mwc-dialog": "^0.15.0",
- "@material/mwc-fab": "^0.15.0",
- "@material/mwc-formfield": "^0.15.0",
- "@material/mwc-icon-button": "^0.15.0",
- "@material/mwc-list": "^0.15.0",
- "@material/mwc-menu": "^0.15.0",
- "@material/mwc-ripple": "^0.15.0",
- "@material/mwc-switch": "^0.15.0",
+ "@material/chips": "=8.0.0-canary.a78ceb112.0",
+ "@material/circular-progress": "=8.0.0-canary.a78ceb112.0",
+ "@material/mwc-button": "^0.17.2",
+ "@material/mwc-checkbox": "^0.17.2",
+ "@material/mwc-dialog": "^0.17.2",
+ "@material/mwc-fab": "^0.17.2",
+ "@material/mwc-formfield": "^0.17.2",
+ "@material/mwc-icon-button": "^0.17.2",
+ "@material/mwc-list": "^0.17.2",
+ "@material/mwc-menu": "^0.17.2",
+ "@material/mwc-ripple": "^0.17.2",
+ "@material/mwc-switch": "^0.17.2",
"@mdi/js": "4.9.95",
"@mdi/svg": "4.9.95",
"@polymer/app-layout": "^3.0.2",
@@ -206,20 +206,7 @@
"@webcomponents/webcomponentsjs": "^2.2.10",
"@polymer/polymer": "3.1.0",
"lit-html": "1.2.1",
- "lit-element": "2.3.1",
- "@material/animation": "7.0.0-canary.d92d8c93e.0",
- "@material/base": "7.0.0-canary.d92d8c93e.0",
- "@material/checkbox": "7.0.0-canary.d92d8c93e.0",
- "@material/density": "7.0.0-canary.d92d8c93e.0",
- "@material/dom": "7.0.0-canary.d92d8c93e.0",
- "@material/elevation": "7.0.0-canary.d92d8c93e.0",
- "@material/feature-targeting": "7.0.0-canary.d92d8c93e.0",
- "@material/ripple": "7.0.0-canary.d92d8c93e.0",
- "@material/rtl": "7.0.0-canary.d92d8c93e.0",
- "@material/shape": "7.0.0-canary.d92d8c93e.0",
- "@material/theme": "7.0.0-canary.d92d8c93e.0",
- "@material/touch-target": "7.0.0-canary.d92d8c93e.0",
- "@material/typography": "7.0.0-canary.d92d8c93e.0"
+ "lit-element": "2.3.1"
},
"main": "src/home-assistant.js",
"husky": {
diff --git a/src/panels/config/logs/ha-config-logs.ts b/src/panels/config/logs/ha-config-logs.ts
index dd4a40c91c..f1a1bf764a 100644
--- a/src/panels/config/logs/ha-config-logs.ts
+++ b/src/panels/config/logs/ha-config-logs.ts
@@ -17,7 +17,7 @@ import { configSections } from "../ha-panel-config";
import "../../../layouts/hass-tabs-subpage";
@customElement("ha-config-logs")
-export class HaPanelDevLogs extends LitElement {
+export class HaConfigLogs extends LitElement {
@property() public hass!: HomeAssistant;
@property() public narrow!: boolean;
@@ -74,6 +74,6 @@ export class HaPanelDevLogs extends LitElement {
declare global {
interface HTMLElementTagNameMap {
- "developer-tools-logs": HaPanelDevLogs;
+ "ha-config-logs": HaConfigLogs;
}
}
diff --git a/src/resources/styles.ts b/src/resources/styles.ts
index 53d84dfc49..ea6ba3cfbc 100644
--- a/src/resources/styles.ts
+++ b/src/resources/styles.ts
@@ -242,7 +242,7 @@ export const haStyleDialog = css`
ha-dialog {
--mdc-dialog-min-width: 100vw;
--mdc-dialog-max-height: 100vh;
- --mdc-dialog-shape-radius: 0px;
+ --mdc-shape-medium: 0px;
--vertial-align-dialog: flex-end;
}
}
diff --git a/yarn.lock b/yarn.lock
index 06be65a121..226a024ee2 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1330,465 +1330,422 @@
"@babel/runtime" "^7.7.2"
core-js "^3.4.1"
-"@material/animation@7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/animation/-/animation-7.0.0-canary.d92d8c93e.0.tgz#7aa9f15b710c478c84ac31e239f0c3d85192fbc1"
- integrity sha512-MeOcW2xEyeHTwCrGERStR3lbPlDIZLqAe9d4gTHAZjf7lnTSzjOpJiXiaX8GRjBAlQ9Z4Ucy8rfCSHjKa4BU2Q==
+"@material/animation@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/animation/-/animation-8.0.0-canary.a78ceb112.0.tgz#b7bd0c91f6431f3294224936b7e37827ca2f77ee"
+ integrity sha512-avnYo5iXt64I5nJfNbiYebtZ8sYcgxbje1JpU0mr58VpgDpSRbQCDoJi+/LPDQiNDr/lU3vUM9MEQaECY8KVzw==
dependencies:
tslib "^1.9.3"
-"@material/base@7.0.0-canary.d92d8c93e.0", "@material/base@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/base/-/base-7.0.0-canary.d92d8c93e.0.tgz#e111a21bc5ae1a9c4cb6ae37d09edd791aaadcc1"
- integrity sha512-ey7Sz8E1A/u0lqCahn57seXYOglJk+bwBgHB+ErJICdUpVD8OhKYtAb++2+eNXVujsHohXx8TM/tZOsefATsQg==
+"@material/base@8.0.0-canary.a78ceb112.0", "@material/base@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/base/-/base-8.0.0-canary.a78ceb112.0.tgz#65bb27333255fb0cc3047d79115a82d540f5b9d8"
+ integrity sha512-gSCgOkjtyrpxGm8BC7mx0dM6yyWda/jSvBcCejlydHQ76fwJ/uV8snBvCdyqgW+E2fDt8Y2o5HyeJSFHAb9q/w==
dependencies:
tslib "^1.9.3"
-"@material/button@7.0.0-canary.d92d8c93e.0", "@material/button@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/button/-/button-7.0.0-canary.d92d8c93e.0.tgz#14fa7bea4a082f43839593c0883addb6f3fdab15"
- integrity sha512-YJqwOB6Xr619nSuWGUmkJN/+bj5sV/AsDfaE28Mv3xjoFqPK19I5RsDI62uZCmODGQfgxkY768JziT49zY9LXg==
+"@material/button@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/button/-/button-8.0.0-canary.a78ceb112.0.tgz#79b13900307f769e7b63f9eef1d209b40df7fc2c"
+ integrity sha512-HQExVH0zD7VIYt+48YOaHRcCXYRiMeGsVwhYDeLJilipqxAjniDLhudlBjnmAFBOFs0kWAYuIyXRiszJfgOVUQ==
dependencies:
- "@material/density" "7.0.0-canary.d92d8c93e.0"
- "@material/elevation" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/shape" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
- "@material/touch-target" "7.0.0-canary.d92d8c93e.0"
- "@material/typography" "7.0.0-canary.d92d8c93e.0"
+ "@material/density" "8.0.0-canary.a78ceb112.0"
+ "@material/elevation" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/ripple" "8.0.0-canary.a78ceb112.0"
+ "@material/rtl" "8.0.0-canary.a78ceb112.0"
+ "@material/shape" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
+ "@material/touch-target" "8.0.0-canary.a78ceb112.0"
+ "@material/typography" "8.0.0-canary.a78ceb112.0"
-"@material/checkbox@7.0.0-canary.d92d8c93e.0", "@material/checkbox@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/checkbox/-/checkbox-7.0.0-canary.d92d8c93e.0.tgz#547af5361e3f8f02b0e58ac952309ab7d673217d"
- integrity sha512-yI0C0ua5JJn6qezG71cNWJC6uBxIlyqCDv/3s+aE8j/pHYel2IAJw9wWXA33Xi1QzFpjY8+gAmvN6Go3jS8JDg==
+"@material/checkbox@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/checkbox/-/checkbox-8.0.0-canary.a78ceb112.0.tgz#4222388f5bbb1aba3bdc6639060049cebe6fde1e"
+ integrity sha512-ke91NUbI+j8/zzpBr0Iw4MjUF8gj5VNmdTTJP8dvHmRNObSBwXo6ZERactzndK7/CG+dVV0hkwQfcTqC52DrTg==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/density" "7.0.0-canary.d92d8c93e.0"
- "@material/dom" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
- "@material/touch-target" "7.0.0-canary.d92d8c93e.0"
+ "@material/animation" "8.0.0-canary.a78ceb112.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/density" "8.0.0-canary.a78ceb112.0"
+ "@material/dom" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/ripple" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
+ "@material/touch-target" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/chips@7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/chips/-/chips-7.0.0-canary.d92d8c93e.0.tgz#c96849885e32b61c0486e9f5259aeb1ea1e3f851"
- integrity sha512-W0jUAYQyZwzowgWDCkTPGOpLAhiFyD6GgMMnBv7oHMF8nWKTVrdU6deTbTjMXQtgBtNCyXaISmOFyoiU8+bixw==
+"@material/chips@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/chips/-/chips-8.0.0-canary.a78ceb112.0.tgz#e1d9e3c5b5dc34a70edd669048a8a34a5e390964"
+ integrity sha512-ZZYTMb4CP7dSy/8BGpIQu1ejFHJv1/tdLxAWEDXI28OTTka3H9I74SExUkC3htqpV22xfWjSUZt+XnPMzIqffA==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/checkbox" "7.0.0-canary.d92d8c93e.0"
- "@material/density" "7.0.0-canary.d92d8c93e.0"
- "@material/dom" "7.0.0-canary.d92d8c93e.0"
- "@material/elevation" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/shape" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
- "@material/touch-target" "7.0.0-canary.d92d8c93e.0"
- "@material/typography" "7.0.0-canary.d92d8c93e.0"
+ "@material/animation" "8.0.0-canary.a78ceb112.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/checkbox" "8.0.0-canary.a78ceb112.0"
+ "@material/density" "8.0.0-canary.a78ceb112.0"
+ "@material/dom" "8.0.0-canary.a78ceb112.0"
+ "@material/elevation" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/ripple" "8.0.0-canary.a78ceb112.0"
+ "@material/rtl" "8.0.0-canary.a78ceb112.0"
+ "@material/shape" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
+ "@material/touch-target" "8.0.0-canary.a78ceb112.0"
+ "@material/typography" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/circular-progress@7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/circular-progress/-/circular-progress-7.0.0-canary.d92d8c93e.0.tgz#f644c90076cdf30208201dfb37e0d7c8f2c58724"
- integrity sha512-Xoj6E+HtvxesuRo/u8xLqDQ0rJY9DKXOelKErrOkxJskkS4G30jFRvdlDWXenBjzRaynH/Iu3RcnNOUTrcSL4A==
+"@material/circular-progress@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/circular-progress/-/circular-progress-8.0.0-canary.a78ceb112.0.tgz#6e65832501dd975b0438abc98eabfaf7072e5c30"
+ integrity sha512-jMg57QaFHCgls5WYkKONUlqmHbzVy3EDJkgtcUOnNTzuG1FnO99Ddg/O02RYf5U9siUGvpS+ve2GHLobSE//CA==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/progress-indicator" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
+ "@material/animation" "8.0.0-canary.a78ceb112.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/progress-indicator" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/density@7.0.0-canary.d92d8c93e.0", "@material/density@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/density/-/density-7.0.0-canary.d92d8c93e.0.tgz#a7a3b0a4fdb4ce92487611a18af4bf51b8f7b09f"
- integrity sha512-yUZw5NSTp7Aj/6Qu5bqLmX23X1QWBfShAoKIwFFZMpLkgWQPy2+p+o9JqaPXN9U824/sDFDP9nofR5VosaNyVg==
+"@material/density@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/density/-/density-8.0.0-canary.a78ceb112.0.tgz#f84414a9d87a932e6857b7c979166e57563865ac"
+ integrity sha512-1fZUwRxnCvVbDA2cEtkbGjGSkvsjsUSFAfN4eWCqylUqbkQC0AWO5EDmrYH+sT3VpHAZ+Hr3cLcydydsT3o2wQ==
-"@material/dialog@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/dialog/-/dialog-7.0.0-canary.d92d8c93e.0.tgz#d11440345d57ed7f86eb2186c0e9cb72ba8938ed"
- integrity sha512-2CX0C9gAXm1hNlGBGNk8fA0hnBZF2Ehtr+KDAGO/EaYJDL72cXFsd6lWewjG2MuKk0XorVlv7EaHEZpUoprA3w==
+"@material/dialog@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/dialog/-/dialog-8.0.0-canary.a78ceb112.0.tgz#09948b18d3286154dfb2ada24b2b50d13fe652d0"
+ integrity sha512-DnMCAlCHDP6LdPpxksrKJs/go/37sZpFHkYG3YaFd7yNoO8K1isRbsf7U6H9KQvE0tGAXZLDY7vy4ERiLxKoYg==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/button" "7.0.0-canary.d92d8c93e.0"
- "@material/dom" "7.0.0-canary.d92d8c93e.0"
- "@material/elevation" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/shape" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
- "@material/touch-target" "7.0.0-canary.d92d8c93e.0"
- "@material/typography" "7.0.0-canary.d92d8c93e.0"
+ "@material/animation" "8.0.0-canary.a78ceb112.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/button" "8.0.0-canary.a78ceb112.0"
+ "@material/dom" "8.0.0-canary.a78ceb112.0"
+ "@material/elevation" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/ripple" "8.0.0-canary.a78ceb112.0"
+ "@material/rtl" "8.0.0-canary.a78ceb112.0"
+ "@material/shape" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
+ "@material/touch-target" "8.0.0-canary.a78ceb112.0"
+ "@material/typography" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/dom@7.0.0-canary.d92d8c93e.0", "@material/dom@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/dom/-/dom-7.0.0-canary.d92d8c93e.0.tgz#079c9d4e0a5e926acc26b22277bca94750122e9f"
- integrity sha512-mHMF2dkKbymywgkOdMPdW1+MbQn2GzvdSpjfRDX/cGh6lKQ0/fado276b/vpXRQb7vNXG1Z21TUtBiZyuyf/PA==
+"@material/dom@8.0.0-canary.a78ceb112.0", "@material/dom@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/dom/-/dom-8.0.0-canary.a78ceb112.0.tgz#3c9d3f8f177a8b723e4fdd95651f7288f5fa3a27"
+ integrity sha512-FmmLO+F/kyo/0rbkkp955JiN8ZCG9CI5g3VH4Ru02jtZdXnGSzo8Cdqjq2fzgP7MQ//eTTwMdeCZfp81UCwjQw==
dependencies:
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/elevation@7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/elevation/-/elevation-7.0.0-canary.d92d8c93e.0.tgz#9403d7abf0019b2864c672e7d9de6409f2c48670"
- integrity sha512-qBIxG2wKZCsKN99zfss9xcI312dOnnkp6HfRSdnVSIsJd/c5RicY0hw/EE+hS+VYc8M0rnc+HSgM/+MMbFzz9w==
+"@material/elevation@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/elevation/-/elevation-8.0.0-canary.a78ceb112.0.tgz#811b3e2990434cddb6a44dafd8d3a3945513cda0"
+ integrity sha512-eTBJ0NCDpfD9pc6AJjzkWGtXSHybKO9+RlxSyIGhax7xiMaIFlXqsk9SlLXwNlbwyU0EqIjPPJdKE9492EavDA==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
+ "@material/animation" "8.0.0-canary.a78ceb112.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
-"@material/fab@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/fab/-/fab-7.0.0-canary.d92d8c93e.0.tgz#b36379e02bf6e29699b50e0951751dc65dbe87bc"
- integrity sha512-MMunuvYq7CnVKpV4nIdevFo02Cbypx9QtyTUYQ/RncRRXSlt5myZBk90dBvInp2B5Tq9XcbkbyIK2WCvS8d1FQ==
+"@material/feature-targeting@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/feature-targeting/-/feature-targeting-8.0.0-canary.a78ceb112.0.tgz#998c7b2331796fee6489b2eaf95a9a75683ed60b"
+ integrity sha512-pYiHlUwKiAwBAULUDVxADD2eHb80cuzwQsQI9IpNr1mgdLcoKomWYxmHYzyD9AUIOlYsPrft+ozyC4gXt5kOtg==
+
+"@material/form-field@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/form-field/-/form-field-8.0.0-canary.a78ceb112.0.tgz#232db5ce9d76935524242a9ee23e6931257b1189"
+ integrity sha512-VIDXQjthFqk3S5w7IgziErin/3p+L/c6lnw6e0E/DiUFgf6gTUenbbzx1+9plBOGqCl67wTN9NwQBekHUOKxhQ==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/dom" "7.0.0-canary.d92d8c93e.0"
- "@material/elevation" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/shape" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
- "@material/touch-target" "7.0.0-canary.d92d8c93e.0"
- "@material/typography" "7.0.0-canary.d92d8c93e.0"
-
-"@material/feature-targeting@7.0.0-canary.d92d8c93e.0", "@material/feature-targeting@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/feature-targeting/-/feature-targeting-7.0.0-canary.d92d8c93e.0.tgz#7fd210bebaf260ce8b3db8a27100b9716d807bab"
- integrity sha512-0avhPtQSnHrQV6jeBZpnqLq51KFjP1oHaQKr2Tm+eqZXqQibNTUyds9oXVTzukd9v3NYTsbdMBpeiKyNrPfHMA==
-
-"@material/form-field@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/form-field/-/form-field-7.0.0-canary.d92d8c93e.0.tgz#1ebe0866ba81bf5c155a753d3741f0490cdf9320"
- integrity sha512-/F9jAGYCX5m1hNuyTgXUUdTqQDuYRirkZ8vIDcgPImCb/a/LiYI8KuIhUjXsS8vuiVmTgQTPxYMJ4QPoiFoI3Q==
- dependencies:
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
- "@material/typography" "7.0.0-canary.d92d8c93e.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/ripple" "8.0.0-canary.a78ceb112.0"
+ "@material/rtl" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
+ "@material/typography" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/icon-button@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/icon-button/-/icon-button-7.0.0-canary.d92d8c93e.0.tgz#e3cb688d9d0bd185f8c67e4d255c5095ea9941fd"
- integrity sha512-7LWQ4rStg7xiLSQ1DUSOXmuS5oyLFWt4kuDiMeqraapluMFHwFZ9RwmmliE+KhhZGHpe/4VT+M+mR9ZlG507oQ==
+"@material/list@8.0.0-canary.a78ceb112.0", "@material/list@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/list/-/list-8.0.0-canary.a78ceb112.0.tgz#0b986116de8d99daf50867a82219552bdc0cc854"
+ integrity sha512-B6ysRJm6HOTQdrAyYcRqZv807vbSrsOnxk3AE9Qscx6erdoJLm9lLX066YfFVk5iGbMzebhFi8lkEIVJBLKwSg==
dependencies:
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/density" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/density" "8.0.0-canary.a78ceb112.0"
+ "@material/dom" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/ripple" "8.0.0-canary.a78ceb112.0"
+ "@material/rtl" "8.0.0-canary.a78ceb112.0"
+ "@material/shape" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
+ "@material/typography" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/list@7.0.0-canary.d92d8c93e.0", "@material/list@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/list/-/list-7.0.0-canary.d92d8c93e.0.tgz#fbc46ddc860c67dc4fe466b872abfa90e13d1514"
- integrity sha512-7hdSglQRGOg4y8tGx6dega12VQp1B8/SbjIsJ5fLH9gvnvusJCNVexvBO4bAa6D4ul4eWv8buJgu517plbnthA==
+"@material/menu-surface@8.0.0-canary.a78ceb112.0", "@material/menu-surface@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/menu-surface/-/menu-surface-8.0.0-canary.a78ceb112.0.tgz#88617336a0369cd71ec0430914bdf202cf464fa1"
+ integrity sha512-PRzYXJz/VmLTmAMJMs6U+BRAAH1+Gn36vVAGtFptYFHk1XO/BTrHKqMmriXPsRE4Kqw8BBf6fTsIImvZcqxhYA==
dependencies:
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/density" "7.0.0-canary.d92d8c93e.0"
- "@material/dom" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/shape" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
- "@material/typography" "7.0.0-canary.d92d8c93e.0"
+ "@material/animation" "8.0.0-canary.a78ceb112.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/elevation" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/rtl" "8.0.0-canary.a78ceb112.0"
+ "@material/shape" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/menu-surface@7.0.0-canary.d92d8c93e.0", "@material/menu-surface@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/menu-surface/-/menu-surface-7.0.0-canary.d92d8c93e.0.tgz#21c6b0efcc5f781bf4aef846f45c93a0c8fb7cea"
- integrity sha512-TGxf+gMy1JjBxJhVFydWYt9ikE4mrMwA1Ki0Ts3n/Og6GizYUk1nsV6QTPUVlzOgX4vHkKHIfSCh+3tf9VokHA==
+"@material/menu@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/menu/-/menu-8.0.0-canary.a78ceb112.0.tgz#259c76ac52b769dde9309e385a72db1f2ae8ed7e"
+ integrity sha512-Z9D8MyNjtMeZ47jwlcnvbGCLLsLSGc4h+a2g/LWnlpbMSyAa91d0x2XlQANmfIzFah3nTcjoon08q/9g8up93Q==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/elevation" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/shape" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/dom" "8.0.0-canary.a78ceb112.0"
+ "@material/elevation" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/list" "8.0.0-canary.a78ceb112.0"
+ "@material/menu-surface" "8.0.0-canary.a78ceb112.0"
+ "@material/ripple" "8.0.0-canary.a78ceb112.0"
+ "@material/rtl" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/menu@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/menu/-/menu-7.0.0-canary.d92d8c93e.0.tgz#496ca4b078bc0072308d89905bd3c8788a4af8b9"
- integrity sha512-//ZbJmt4qepOu+i8VmgLevYAm4TtGTs4Q6k7NsZTbcaLKPM61upszM5oZ/YnlNELWZ3CUFweY2tdQIn6AnFkjw==
+"@material/mwc-base@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-base/-/mwc-base-0.17.2.tgz#90c863f428c281c2d71465d89958dd2fbe4b5e3f"
+ integrity sha512-SJ4GLhikChTp7HwyAqccIk1usxwLporj5EWCNx+1h2ECWIY5BdIySFkmq9uqrVLEDTwW0wPB+0ZD+E3ScJdvZw==
dependencies:
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/dom" "7.0.0-canary.d92d8c93e.0"
- "@material/elevation" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/list" "7.0.0-canary.d92d8c93e.0"
- "@material/menu-surface" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
- tslib "^1.9.3"
-
-"@material/mwc-base@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-base/-/mwc-base-0.15.0.tgz#ddc8271c0f8b06c9098436ff8a9892ed0dcab5dc"
- integrity sha512-TlZQtwKMhU5e4GMQ3ZFwhJ2ANQJHTnPMRq6ZDEIG2vfoxx8JIWJ2f/yoI8MkoYUJ1Q6t5arBaBaI2Qr0JEstWw==
- dependencies:
- "@material/base" "=7.0.0-canary.d92d8c93e.0"
- "@material/dom" "=7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "=7.0.0-canary.d92d8c93e.0"
+ "@material/base" "=8.0.0-canary.a78ceb112.0"
+ "@material/dom" "=8.0.0-canary.a78ceb112.0"
lit-element "^2.3.0"
tslib "^1.10.0"
-"@material/mwc-button@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-button/-/mwc-button-0.15.0.tgz#8ebe3718f2f23207d60e069c49235a607120012b"
- integrity sha512-vwwT5I8b7mMAH4UzGZdfStbWx+/blhBlZ/wZM+CKbolwPuOeMLeTMMawhyRnLqMxedCPExQ1koYoABXNoUB4lQ==
+"@material/mwc-button@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-button/-/mwc-button-0.17.2.tgz#90924f028ac52fd462d127a8b5587be8eca6877c"
+ integrity sha512-2fNVfF2tL1yywufCY4qLgqBR5lS2QFUIu9AqOmImN0MNmFk3jhXAiVSdWbuMKruiGI0HW4DAzM/w+uiAVu83KA==
dependencies:
- "@material/button" "=7.0.0-canary.d92d8c93e.0"
- "@material/mwc-base" "^0.15.0"
- "@material/mwc-icon" "^0.15.0"
- "@material/mwc-ripple" "^0.15.0"
+ "@material/mwc-icon" "^0.17.2"
+ "@material/mwc-ripple" "^0.17.2"
lit-element "^2.3.0"
lit-html "^1.1.2"
tslib "^1.10.0"
-"@material/mwc-checkbox@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-checkbox/-/mwc-checkbox-0.15.0.tgz#57cd3cb194102951639ed0a6675f5a19bab988ad"
- integrity sha512-ssjko688R/qPAfn4E79hFMyHq91h2rHqrAtvt7rFZT8to0uOurnXNwFLyuzwruhMbPjDRSr5fVcJWqWBV/SN3Q==
+"@material/mwc-checkbox@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-checkbox/-/mwc-checkbox-0.17.2.tgz#e4185cd88857fbe25946a27edfa46cd950062bd9"
+ integrity sha512-y+9VJ2dvcQloShRv/wYJDUjp6H0rWGu7MbhqvxlKeDOcCBz9a/3eGZQj7MnWwz2vkRPfIBwVRsJRO5HxIwZvuQ==
dependencies:
- "@material/checkbox" "=7.0.0-canary.d92d8c93e.0"
- "@material/mwc-base" "^0.15.0"
- "@material/mwc-ripple" "^0.15.0"
+ "@material/mwc-base" "^0.17.2"
+ "@material/mwc-ripple" "^0.17.2"
lit-element "^2.3.0"
+ lit-html "^1.1.2"
tslib "^1.10.0"
-"@material/mwc-dialog@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-dialog/-/mwc-dialog-0.15.0.tgz#1b5266123ee4eac2274d9410ef7eadb354d27008"
- integrity sha512-3zIu0gVJyAAeKW/57/+4tsgaVKPUvo33ciZ8oDzGvOdbnkZIyWwylx6ydnPCuWED9BkQekAgH7YM+vzutP0UhQ==
+"@material/mwc-dialog@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-dialog/-/mwc-dialog-0.17.2.tgz#3ae79c74d94e3a773a11e3d744be78c713a3bc0a"
+ integrity sha512-U9iLbDfpzkDAKtQKOSWACDqBCiYu6POymdIPmA4N9yRJGX1v2sNDulaGhDu/IqINz26TKT6FUMWmto18E70xrA==
dependencies:
- "@material/dialog" "=7.0.0-canary.d92d8c93e.0"
- "@material/dom" "=7.0.0-canary.d92d8c93e.0"
- "@material/mwc-base" "^0.15.0"
- "@material/touch-target" "=7.0.0-canary.d92d8c93e.0"
+ "@material/dialog" "=8.0.0-canary.a78ceb112.0"
+ "@material/dom" "=8.0.0-canary.a78ceb112.0"
+ "@material/mwc-base" "^0.17.2"
blocking-elements "^0.1.0"
lit-element "^2.3.0"
lit-html "^1.1.2"
tslib "^1.10.0"
wicg-inert "^3.0.0"
-"@material/mwc-fab@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-fab/-/mwc-fab-0.15.0.tgz#b0bdd664f61250e4f3a593ca8656cdd37bb3a487"
- integrity sha512-VejrZQgwAwcV72xOBaROxl3GQVg4nqczaxEZAmhVCJ5DNW58vhd32xmfXAtcySjKEROZbyIo24e3EZp8di/1Xg==
+"@material/mwc-fab@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-fab/-/mwc-fab-0.17.2.tgz#837e1aa489b7673a434fa49a3c319e8081721a6a"
+ integrity sha512-YmN+IlP4sca3dD5kHi79WDaha862QH1FzsgNLuOeL9tz3dE6cmuYZ7v7cok1LZVQOd0oVbGmJsTdfdJsFYMDXg==
dependencies:
- "@material/fab" "=7.0.0-canary.d92d8c93e.0"
- "@material/mwc-base" "^0.15.0"
- "@material/mwc-icon" "^0.15.0"
- "@material/mwc-ripple" "^0.15.0"
+ "@material/mwc-ripple" "^0.17.2"
lit-element "^2.3.0"
lit-html "^1.1.2"
tslib "^1.10.0"
-"@material/mwc-formfield@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-formfield/-/mwc-formfield-0.15.0.tgz#ff06babe3c6aa522e33daf2e9dc507f18896a819"
- integrity sha512-LLzG9/35LrHW1rx5pVUmOmpvSZRw8yD3H7HkQvYeTUbEKP7quRj7v+VMFRQkvznYIWMqEudgTFhNyUAD9DrUPQ==
+"@material/mwc-formfield@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-formfield/-/mwc-formfield-0.17.2.tgz#b69a9423d4dd7cc83145d7cc7ad5bb0a030fa622"
+ integrity sha512-3VN0Nzh7IwlknCHcOedLTLIROvkHnjQ6M38kHL9MOZm8DnCTduJ4eYY4sQyoZxtnkZR3E1e4sA8+bnpSj4ggPA==
dependencies:
- "@material/form-field" "=7.0.0-canary.d92d8c93e.0"
- "@material/mwc-base" "^0.15.0"
+ "@material/form-field" "=8.0.0-canary.a78ceb112.0"
+ "@material/mwc-base" "^0.17.2"
lit-element "^2.3.0"
lit-html "^1.1.2"
tslib "^1.10.0"
-"@material/mwc-icon-button@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-icon-button/-/mwc-icon-button-0.15.0.tgz#cad5a841ea58ba1f39003ba17f99a6ae55fbd0ac"
- integrity sha512-7Xw4uYdMSRWBmviMB0i1BoacX/cnlA3JKT2kKipnXlj1JP0Y8hwLebXn18m0z8TbDhwAQnXuKp6cWSZMgcVcWw==
+"@material/mwc-icon-button@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-icon-button/-/mwc-icon-button-0.17.2.tgz#b068c3ea7b6c2e92312ab9ec20baac0cff3dfb20"
+ integrity sha512-kA0RaOmE35yaTCMlqZT7m6A/lJfcsgBKnutAQlhzHlwANTDbWApVi9CjvvN4568EXlBfvfCEL7oUdMDy219K0Q==
dependencies:
- "@material/icon-button" "=7.0.0-canary.d92d8c93e.0"
- "@material/mwc-base" "^0.15.0"
- "@material/mwc-icon" "^0.15.0"
- "@material/mwc-ripple" "^0.15.0"
+ "@material/mwc-ripple" "^0.17.2"
lit-element "^2.3.0"
tslib "^1.10.0"
-"@material/mwc-icon@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-icon/-/mwc-icon-0.15.0.tgz#3f4aab00aa137f6f109d42180aeb2dd55f5981a1"
- integrity sha512-jKTwh9pNYn/DgQ1jmh3J7cl8CpOz7/seqLs70mURs2pMlbv9DIQiiYYprADExko7aaOwig9+lGmKQlEyLeV6DQ==
+"@material/mwc-icon@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-icon/-/mwc-icon-0.17.2.tgz#06f019525001b3e42e18106fc6f321b4c8ca0b3c"
+ integrity sha512-9EpoLbn82RD5Wsxv0J7o1hTyn+WLfC1tdaTBvDmkRJZhfFheXYKUWNQXWrra0I/BpmojOGvijStOH0rga513WA==
dependencies:
- "@material/mwc-base" "^0.15.0"
lit-element "^2.3.0"
tslib "^1.10.0"
-"@material/mwc-list@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-list/-/mwc-list-0.15.0.tgz#3f8a9e17f303107ba2cd24dfb95dc5017f8562c9"
- integrity sha512-LEjy+nnsL6r6RAqef/zgk9aRIClyOtXp2k73AncHJMFdYhjQfgVNJLl+RChlxTuyCafKclVD+ufQFphD+cPZBw==
+"@material/mwc-list@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-list/-/mwc-list-0.17.2.tgz#f09fc4cf1a0ca03d097938c7bcc75682cec39eb3"
+ integrity sha512-fKGJkfWntNUQxfRSM/G7Zsaq0SD8JsFi730BS7q8X3OlFhuOGGeMP7sY5FtBVX0hjAO1/khp9KKgmvZunUoXkg==
dependencies:
- "@material/base" "=7.0.0-canary.d92d8c93e.0"
- "@material/density" "=7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "=7.0.0-canary.d92d8c93e.0"
- "@material/list" "=7.0.0-canary.d92d8c93e.0"
- "@material/mwc-base" "^0.15.0"
- "@material/mwc-checkbox" "^0.15.0"
- "@material/mwc-radio" "^0.15.0"
- "@material/mwc-ripple" "^0.15.0"
- "@material/ripple" "=7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "=7.0.0-canary.d92d8c93e.0"
- "@material/theme" "=7.0.0-canary.d92d8c93e.0"
- "@material/typography" "=7.0.0-canary.d92d8c93e.0"
+ "@material/base" "=8.0.0-canary.a78ceb112.0"
+ "@material/list" "=8.0.0-canary.a78ceb112.0"
+ "@material/mwc-base" "^0.17.2"
+ "@material/mwc-checkbox" "^0.17.2"
+ "@material/mwc-radio" "^0.17.2"
+ "@material/mwc-ripple" "^0.17.2"
lit-element "^2.3.0"
lit-html "^1.1.2"
tslib "^1.10.0"
-"@material/mwc-menu@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-menu/-/mwc-menu-0.15.0.tgz#f23eec7fdfd59e7268be6769b1adfc2af2642084"
- integrity sha512-LG3VpP34woRMrIJn40bkrEMuv8CXmFJ70GLFEMmNFYp8z53ftIxQ9oL3kz09q0mOwgyThZAKrXJbyluO43NMlg==
+"@material/mwc-menu@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-menu/-/mwc-menu-0.17.2.tgz#53cfb5edf6ebc7c9e992a6909f211d529375effd"
+ integrity sha512-WrQalgdp2NYr/ws5rX9ify8trKiqNUy7tAXlHYAg5qKRb3HpHV6gsmNCScOZ4e95xXJvEOaUp67YDZsma3/rzQ==
dependencies:
- "@material/menu" "=7.0.0-canary.d92d8c93e.0"
- "@material/menu-surface" "=7.0.0-canary.d92d8c93e.0"
- "@material/mwc-base" "^0.15.0"
- "@material/mwc-list" "^0.15.0"
+ "@material/menu" "=8.0.0-canary.a78ceb112.0"
+ "@material/menu-surface" "=8.0.0-canary.a78ceb112.0"
+ "@material/mwc-base" "^0.17.2"
+ "@material/mwc-list" "^0.17.2"
lit-element "^2.3.0"
lit-html "^1.1.2"
tslib "^1.10.0"
-"@material/mwc-radio@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-radio/-/mwc-radio-0.15.0.tgz#629f362ddb951b331c41798214a2d347b446ac6e"
- integrity sha512-SbemYU6ZvqUGTNi62yQ6p9GIOBH2WajQFebgEsSCaaxWNJqTQGCh3vw7Wbx+75ZTTjGY6VQL0oeXDKoz2cRwmA==
+"@material/mwc-radio@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-radio/-/mwc-radio-0.17.2.tgz#101c41eedcd947f6159f2b3cbdd52d1a6b4bb277"
+ integrity sha512-+aPdJBUWTfT4pQg7s7g4wDvTvNE9gdBywJICtgaRM5z8NjYoWnF3aZGwb49yz+TAbf6d3ZYwRWPnXYx4sfh/gg==
dependencies:
- "@material/mwc-base" "^0.15.0"
- "@material/mwc-ripple" "^0.15.0"
- "@material/radio" "=7.0.0-canary.d92d8c93e.0"
+ "@material/mwc-base" "^0.17.2"
+ "@material/mwc-ripple" "^0.17.2"
+ "@material/radio" "=8.0.0-canary.a78ceb112.0"
lit-element "^2.3.0"
tslib "^1.10.0"
-"@material/mwc-ripple@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-ripple/-/mwc-ripple-0.15.0.tgz#ec451c85671573d42cda9745847b922b053f83f2"
- integrity sha512-3elf4ysHoURfdoWRle/0zQ2l7OUSWE7Ah73B/PYr/DgHISmYYUjg2k/K5NSro9UcmshAVnppIujlcZN3GbQIyA==
+"@material/mwc-ripple@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-ripple/-/mwc-ripple-0.17.2.tgz#327eb714d1e3445e7c80a2ae92a1e293919c69af"
+ integrity sha512-rdx/mR9vxPS6ZnM7oWP4E5FGRQ3pgo7n/hGUPcGMxFfXaxaHs1evoIQscp9a6HcXVrLPXemKD6msObwMDKetQA==
dependencies:
- "@material/dom" "=7.0.0-canary.d92d8c93e.0"
- "@material/mwc-base" "^0.15.0"
- "@material/ripple" "=7.0.0-canary.d92d8c93e.0"
+ "@material/dom" "=8.0.0-canary.a78ceb112.0"
+ "@material/mwc-base" "^0.17.2"
+ "@material/ripple" "=8.0.0-canary.a78ceb112.0"
lit-element "^2.3.0"
lit-html "^1.1.2"
tslib "^1.10.0"
-"@material/mwc-switch@^0.15.0":
- version "0.15.0"
- resolved "https://registry.yarnpkg.com/@material/mwc-switch/-/mwc-switch-0.15.0.tgz#f9f24e57d53df92bd2fd4a65ebde89a8ea4aa177"
- integrity sha512-z4bOJgm9PYACk6JtFCQWMHpfO3HQOALmnV4EUDrUL4628oGcIfa3VJPeINDAoNzjwIvjY5EtoGKWEBDJpFnrfw==
+"@material/mwc-switch@^0.17.2":
+ version "0.17.2"
+ resolved "https://registry.yarnpkg.com/@material/mwc-switch/-/mwc-switch-0.17.2.tgz#4bdff3f981958cb0b396bc38a8b27f094fc0195c"
+ integrity sha512-HgNYKKAKcVEOxVeIoHtvYd5Y7Pb3laHRSKX9cLgKivUgwjBx62QdU0q8KcqQAySklI+6MUXAMqofZj8eggkCzw==
dependencies:
- "@material/mwc-base" "^0.15.0"
- "@material/mwc-ripple" "^0.15.0"
- "@material/switch" "=7.0.0-canary.d92d8c93e.0"
+ "@material/mwc-base" "^0.17.2"
+ "@material/mwc-ripple" "^0.17.2"
+ "@material/switch" "=8.0.0-canary.a78ceb112.0"
lit-element "^2.3.0"
tslib "^1.10.0"
-"@material/progress-indicator@7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/progress-indicator/-/progress-indicator-7.0.0-canary.d92d8c93e.0.tgz#e49e3d22ed594f53624eae5c8b82b19fa13e93d8"
- integrity sha512-ibwqKAKd8xJqN2SceGo7fsjwdy7E2yjmP8V3ASUqUnK+MXepKoxdjfj+pXBAuCwNy8ehx1b4HzYq7LA20PKWKw==
+"@material/progress-indicator@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/progress-indicator/-/progress-indicator-8.0.0-canary.a78ceb112.0.tgz#70a769d413910daf8ea1c4d51712487e381eaeab"
+ integrity sha512-r54SULT+K9TfvsMmBf4fkUFrblRmBssCEzqQD9DN/La3iidsWmhmId7wEuUukYtmFEQyIZUFo1Q9sqMlfyCCow==
dependencies:
tslib "^1.9.3"
-"@material/radio@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/radio/-/radio-7.0.0-canary.d92d8c93e.0.tgz#bf112f224cc3f3d64021e2ba45def87203dfc3fe"
- integrity sha512-ldDuoAMGy0bDNmIiYIro/N4XdoFERgM+7sJ+eHSlXUvR9Tl/YDkkGHvjRmEcl9E2CwjI9Oa3tPlj5dkggIBMGA==
+"@material/radio@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/radio/-/radio-8.0.0-canary.a78ceb112.0.tgz#82ff41946e3cfc34af7a056f242700d34e00eda2"
+ integrity sha512-wjJ4MP9In0mhh+vafraFeuVa/M8HImwpFPzIkgH7TcSS4yIPK3KnTK5RHyWWEUA+Lk3DK02B8VRCqNPjRUhUBQ==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/density" "7.0.0-canary.d92d8c93e.0"
- "@material/dom" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
- "@material/touch-target" "7.0.0-canary.d92d8c93e.0"
+ "@material/animation" "8.0.0-canary.a78ceb112.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/density" "8.0.0-canary.a78ceb112.0"
+ "@material/dom" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/ripple" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
+ "@material/touch-target" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/ripple@7.0.0-canary.d92d8c93e.0", "@material/ripple@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/ripple/-/ripple-7.0.0-canary.d92d8c93e.0.tgz#f617d942cecce3f219a15e46d0e540bde355e5f5"
- integrity sha512-lnusvG5+xsaNsmj4MbUdzKeATzJ9uY8oWwSIApxyj4JOoHZzgwtkp/FTxri/rT0nE9wK7+h1oh+bEgZn7VCkZw==
+"@material/ripple@8.0.0-canary.a78ceb112.0", "@material/ripple@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/ripple/-/ripple-8.0.0-canary.a78ceb112.0.tgz#98f03a91f42d730a0a6ef72f8025c4e27d09d500"
+ integrity sha512-0vftc/VRNBGNkVeaumc+ztN6cPUDUXL0+X1HQSuNGn4tS0slqQH6yi9+juZhteOGY9Ca+1D3agsB7H9eNzdM8Q==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/dom" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
+ "@material/animation" "8.0.0-canary.a78ceb112.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/dom" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/rtl@7.0.0-canary.d92d8c93e.0", "@material/rtl@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/rtl/-/rtl-7.0.0-canary.d92d8c93e.0.tgz#23b16cee381f52d31a25a424bbb921a3b23ba266"
- integrity sha512-HmxYd7BKsR37QZQWX7lrZepvaZGCc9kJn5CBv3b8d9i3Oo+m6aJttDU/U0f7QNBTNBD+kLAlTL9pDd9CgvsYuQ==
-
-"@material/shape@7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/shape/-/shape-7.0.0-canary.d92d8c93e.0.tgz#85f3b60118dec525260dca048ec351520bb14b0f"
- integrity sha512-ymVfwUsitJWLpUtsn4bjJo0+cvfkAWvjQbwFj7mDViF3FvLwZEp1pHeuuciso+YDYo4l3NAz/fG/xAy+FBMTfw==
+"@material/rtl@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/rtl/-/rtl-8.0.0-canary.a78ceb112.0.tgz#1e2f515735c96afaace5c91aac14c168c6270e9a"
+ integrity sha512-+R/yFoO1Olt9hY0nvWRbTIQ7/PG9r7iv35J2Ld3Gx6CNZM2utql16bOG+5Ec81C6gBdvlgBcrCdQ8NdgYiablA==
dependencies:
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
-"@material/switch@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/switch/-/switch-7.0.0-canary.d92d8c93e.0.tgz#b8f293b3a38c39a0f41e2d44163c45d2bd57a7d0"
- integrity sha512-wWgObFNBl5oSnUZ+I3jZydQFmuv+H1sgBwSxdDTw0MJG/snZYX5V8KastUbqyG/uzuXnAtUNnhHLlPEmLDW/QQ==
+"@material/shape@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/shape/-/shape-8.0.0-canary.a78ceb112.0.tgz#b652e07486250b36346246c4db07d5b2dab3e145"
+ integrity sha512-82fYRqdoBoFyS9+zuqqd9YJrsw8XykLA2xEf/ybtRGifwbLlk8ACrGN9dEwX6ixl7gt+JsXKBR9piF4XvxVjaw==
dependencies:
- "@material/animation" "7.0.0-canary.d92d8c93e.0"
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/density" "7.0.0-canary.d92d8c93e.0"
- "@material/dom" "7.0.0-canary.d92d8c93e.0"
- "@material/elevation" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/ripple" "7.0.0-canary.d92d8c93e.0"
- "@material/rtl" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/rtl" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
+
+"@material/switch@=8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/switch/-/switch-8.0.0-canary.a78ceb112.0.tgz#bb735bfc32cfe0a5959ece836976d9706bfbf96a"
+ integrity sha512-Bu2Q8bjUCry4CAGLaaPQ83ID4xHp7BZyC3tJCvSbdX5qb7NGDDquTSIQ5YlJub5yfKPOyzHvBzbhmzFMym0j0g==
+ dependencies:
+ "@material/animation" "8.0.0-canary.a78ceb112.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/density" "8.0.0-canary.a78ceb112.0"
+ "@material/dom" "8.0.0-canary.a78ceb112.0"
+ "@material/elevation" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/ripple" "8.0.0-canary.a78ceb112.0"
+ "@material/rtl" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
tslib "^1.9.3"
-"@material/theme@7.0.0-canary.d92d8c93e.0", "@material/theme@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/theme/-/theme-7.0.0-canary.d92d8c93e.0.tgz#24da57015cba9d4759dade806a0ce92e10bf937a"
- integrity sha512-Qx1ZPWDQVzE2adGGuVZ3wT0/jXvF8dW2Vei3oIbe52jNmHKS81ZMPgkHlYonKX5v53nKuxEdMIclZcFaEoBZWQ==
+"@material/theme@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/theme/-/theme-8.0.0-canary.a78ceb112.0.tgz#0a32294d806f16ebfab42025d35056a6954863a0"
+ integrity sha512-/hBvqcXYDuCG0nWEJ8uYsM/XxrCE4EHcel7N6WYwZDRHlPfKQis3qPEJCJicdHckVFdOUvGr9KO2h5BWUNA90Q==
dependencies:
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
-"@material/touch-target@7.0.0-canary.d92d8c93e.0", "@material/touch-target@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/touch-target/-/touch-target-7.0.0-canary.d92d8c93e.0.tgz#90c568ae9fcf083ddeb00dc1930ea722c39177b6"
- integrity sha512-md7J3xLYHej2k2yQy/T7SJRCf9nOKsn7J8ufWsamy6HvGXOCvZivFlf70eDbdz7wUQiG0H6kT5KywQtdP16uvQ==
+"@material/touch-target@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/touch-target/-/touch-target-8.0.0-canary.a78ceb112.0.tgz#dcacd182c99e3eae5547ffe26bc758fca252cfae"
+ integrity sha512-ZnwbC6Cd5Z5Fep1GGQozL5GQXbSSwNehdIbyOs5nDJCFikJIX5DYlYHVFvwhzB/rexhTzGQPaKLjUPUhYXGpoA==
dependencies:
- "@material/base" "7.0.0-canary.d92d8c93e.0"
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
+ "@material/base" "8.0.0-canary.a78ceb112.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
-"@material/typography@7.0.0-canary.d92d8c93e.0", "@material/typography@=7.0.0-canary.d92d8c93e.0":
- version "7.0.0-canary.d92d8c93e.0"
- resolved "https://registry.yarnpkg.com/@material/typography/-/typography-7.0.0-canary.d92d8c93e.0.tgz#5523b743ed8a86156627264f2546f32c000538bd"
- integrity sha512-R7oAH4hi8EASn3Vetl+ZYIZkYQ6Cq2zVEE5zb1Iy6ELtwEL63lcb2oXEkvnTTYrS/XkQA7o4bs/HUAM+ojWECA==
+"@material/typography@8.0.0-canary.a78ceb112.0":
+ version "8.0.0-canary.a78ceb112.0"
+ resolved "https://registry.yarnpkg.com/@material/typography/-/typography-8.0.0-canary.a78ceb112.0.tgz#15b17f1c2a7c86406221317ff8f7f0f455fe2410"
+ integrity sha512-8OaNJzeVeYAxwWUjHR1QSxc6n68gL+xBQ2MYncStyyoHnaAL184OCGbPob2+11wuAmkE3XRnl7WdmVt2TtPu4Q==
dependencies:
- "@material/feature-targeting" "7.0.0-canary.d92d8c93e.0"
- "@material/theme" "7.0.0-canary.d92d8c93e.0"
+ "@material/feature-targeting" "8.0.0-canary.a78ceb112.0"
+ "@material/theme" "8.0.0-canary.a78ceb112.0"
"@mdi/js@4.9.95":
version "4.9.95"
From 351962475fad249f5753a21bed1944cb455251f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vladim=C3=ADr=20Z=C3=A1hradn=C3=ADk?=
Date: Thu, 2 Jul 2020 23:18:40 +0200
Subject: [PATCH 03/58] Custom Door controls (#6195)
---
src/components/ha-cover-controls.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/components/ha-cover-controls.js b/src/components/ha-cover-controls.js
index 3cf69923d3..1849439d4a 100644
--- a/src/components/ha-cover-controls.js
+++ b/src/components/ha-cover-controls.js
@@ -65,6 +65,7 @@ class HaCoverControls extends PolymerElement {
computeOpenIcon(stateObj) {
switch (stateObj.attributes.device_class) {
case "awning":
+ case "door":
case "gate":
return "hass:arrow-expand-horizontal";
default:
@@ -75,6 +76,7 @@ class HaCoverControls extends PolymerElement {
computeCloseIcon(stateObj) {
switch (stateObj.attributes.device_class) {
case "awning":
+ case "door":
case "gate":
return "hass:arrow-collapse-horizontal";
default:
From cc528e41cf7f0a3ba0917fb4216d39e051e51f6a Mon Sep 17 00:00:00 2001
From: HomeAssistant Azure
Date: Fri, 3 Jul 2020 00:32:26 +0000
Subject: [PATCH 04/58] [ci skip] Translation update
---
translations/frontend/cs.json | 1 +
translations/frontend/en.json | 4 ++++
translations/frontend/fr.json | 28 ++++++++++++++++++++++--
translations/frontend/ko.json | 1 +
translations/frontend/lt.json | 41 ++++++++++++++++++++++++++++++++++-
translations/frontend/pl.json | 7 +++---
translations/frontend/pt.json | 25 +++++++++++++--------
7 files changed, 92 insertions(+), 15 deletions(-)
diff --git a/translations/frontend/cs.json b/translations/frontend/cs.json
index d89e99aadb..e3c9659867 100644
--- a/translations/frontend/cs.json
+++ b/translations/frontend/cs.json
@@ -1431,6 +1431,7 @@
"delete_confirm": "Opravdu chcete odstranit tuto integraci?",
"device_unavailable": "zařízení není k dispozici",
"devices": "{count} {count, plural,\n one {zařízení}\n other {zařízení}\n}",
+ "documentation": "Dokumentace",
"entities": "{count} {count, plural,\n one {entita}\n other {entit}\n}",
"entity_unavailable": "entita není k dispozici",
"firmware": "Firmware: {version}",
diff --git a/translations/frontend/en.json b/translations/frontend/en.json
index d66d8e20c7..0533854e00 100644
--- a/translations/frontend/en.json
+++ b/translations/frontend/en.json
@@ -2678,6 +2678,10 @@
"not_used": "Has never been used",
"token_title": "Refresh token for {clientId}"
},
+ "suspend": {
+ "description": "Should we close the connection to the server after being hidden for 5 minutes?",
+ "header": "Automatically close connection"
+ },
"themes": {
"dropdown_label": "Theme",
"error_no_theme": "No themes available.",
diff --git a/translations/frontend/fr.json b/translations/frontend/fr.json
index 234dde16f8..55c7cba8f7 100644
--- a/translations/frontend/fr.json
+++ b/translations/frontend/fr.json
@@ -48,6 +48,19 @@
"none": "Aucun",
"sleep": "Veille"
}
+ },
+ "humidifier": {
+ "mode": {
+ "auto": "Auto",
+ "away": "Absent",
+ "baby": "Bébé",
+ "boost": "Boost",
+ "comfort": "Confort",
+ "eco": "Éco",
+ "home": "Présent",
+ "normal": "Normal",
+ "sleep": "Sommeil"
+ }
}
},
"state_badge": {
@@ -388,6 +401,12 @@
"reverse": "Sens inverse",
"speed": "Vitesse"
},
+ "humidifier": {
+ "humidity": "Humidité cible",
+ "mode": "Mode",
+ "on_entity": "{name} on",
+ "target_humidity_entity": "{name} humidité cible"
+ },
"light": {
"brightness": "Luminosité",
"color_temperature": "Température de couleur",
@@ -870,8 +889,8 @@
"label": "Pas"
},
"numeric_state": {
- "above": "Au-Dessus",
- "below": "En-Dessous",
+ "above": "Au dessus de",
+ "below": "En-dessous de",
"label": "Valeur numérique",
"value_template": "Contenu du modèle (optionnel)"
},
@@ -1412,6 +1431,7 @@
"delete_confirm": "Êtes-vous sûr de vouloir supprimer cette intégration?",
"device_unavailable": "appareil indisponible",
"devices": "{count} {count, plural,\n zero {appareil}\n one {appareil}\n other {appareils}\n}",
+ "documentation": "Documentation",
"entities": "{count} {count, plural,\n zero {entité}\n one {entité}\n other {entités}\n}",
"entity_unavailable": "entité indisponible",
"firmware": "Firmware: {version}",
@@ -2198,6 +2218,10 @@
"description": "La carte de pile horizontale vous permet d'empiler plusieurs cartes, de sorte qu'elles soient toujours côte à côte dans l'espace d'une colonne.",
"name": "Pile horizontale"
},
+ "humidifier": {
+ "description": "La carte humidificateur donne le contrôle de votre entité humidificateur. Vous permettant de modifier l'humidité et le mode de l'entité.",
+ "name": "Humidificateur"
+ },
"iframe": {
"description": "La carte Page Web vous permet d'intégrer votre page Web préférée directement dans Home Assistant.",
"name": "Page Web"
diff --git a/translations/frontend/ko.json b/translations/frontend/ko.json
index dba4fdec40..5d3084a0e0 100644
--- a/translations/frontend/ko.json
+++ b/translations/frontend/ko.json
@@ -1431,6 +1431,7 @@
"delete_confirm": "이 통합 구성요소를 제거하시겠습니까?",
"device_unavailable": "기기 사용불가",
"devices": "{count} {count, plural,\none {기기}\nother {기기}\n}",
+ "documentation": "관련문서",
"entities": "{count} {count, plural,\none {구성요소}\nother {구성요소}\n}",
"entity_unavailable": "구성요소 사용불가",
"firmware": "펌웨어: {version}",
diff --git a/translations/frontend/lt.json b/translations/frontend/lt.json
index cc0a53ba9f..568dd51c70 100644
--- a/translations/frontend/lt.json
+++ b/translations/frontend/lt.json
@@ -181,6 +181,13 @@
"active": "aktyvus",
"paused": "pristabdytas"
},
+ "weather": {
+ "clear-night": "Giedra naktis",
+ "cloudy": "Debesuota",
+ "partlycloudy": "Nepastoviai debesuota",
+ "sunny": "Saulėta",
+ "windy": "Vėjuota"
+ },
"zwave": {
"query_stage": {
"dead": " ({query_stage})",
@@ -192,6 +199,25 @@
"card": {
"alarm_control_panel": {
"arm_custom_bypass": "Individualizuotas apėjimas"
+ },
+ "weather": {
+ "attributes": {
+ "air_pressure": "Atmosferos slėgis",
+ "humidity": "Santykinė oro drėgmė",
+ "temperature": "Temperatūra",
+ "wind_speed": "Vėjo greitis"
+ },
+ "cardinal_direction": {
+ "e": "R",
+ "n": "Š",
+ "ne": "ŠR",
+ "nw": "ŠV",
+ "s": "P",
+ "se": "PR",
+ "sw": "PV",
+ "w": "V"
+ },
+ "forecast": "Prognozė"
}
},
"common": {
@@ -428,8 +454,17 @@
"question_trust": "Ar pasitikite išoriniu skydeliu {name} adresu {link}?"
}
},
+ "history": {
+ "ranges": {
+ "today": "Šiandien",
+ "yesterday": "Vakar"
+ }
+ },
"logbook": {
- "period": "Laikotarpis"
+ "period": "Laikotarpis",
+ "ranges": {
+ "today": "Šiandien"
+ }
},
"lovelace": {
"cards": {
@@ -541,6 +576,10 @@
"header": "Keisti slaptažodį",
"new_password": "Naujas slaptažodis"
},
+ "language": {
+ "dropdown_label": "Kalba",
+ "header": "Kalba"
+ },
"mfa_setup": {
"close": "Uždaryti",
"title_aborted": "Nutraukta"
diff --git a/translations/frontend/pl.json b/translations/frontend/pl.json
index ab994f8749..a83ea6a983 100644
--- a/translations/frontend/pl.json
+++ b/translations/frontend/pl.json
@@ -1431,6 +1431,7 @@
"delete_confirm": "Czy na pewno chcesz usunąć tę integrację?",
"device_unavailable": "urządzenie niedostępne",
"devices": "{count} {count, plural,\n one {urządzenie}\n few {urządzenia}\n many {urządzeń}\n other {urządzeń}\n}",
+ "documentation": "Dokumentacja",
"entities": "{count} {count, plural,\n one {encja}\n few {encje}\n many {encji}\n other {encji}\n}",
"entity_unavailable": "encja niedostępna",
"firmware": "oprogramowanie: {version}",
@@ -1583,7 +1584,7 @@
}
},
"mqtt": {
- "button": "Konfiguruj",
+ "button": "Konfiguracja",
"description_listen": "Nasłuch tematu",
"description_publish": "Opublikuj pakiet",
"listening_to": "Nasłuchiwanie...",
@@ -1784,7 +1785,7 @@
"caption": "Dodaj urządzenia",
"description": "Dodaj urządzenia do sieci Zigbee"
},
- "button": "Konfiguruj",
+ "button": "Konfiguracja",
"caption": "ZHA",
"cluster_attributes": {
"attributes_of_cluster": "Atrybuty wybranego klastra",
@@ -1905,7 +1906,7 @@
"no_zones_created_yet": "Wygląda na to, że nie utworzyłeś jeszcze żadnych stref."
},
"zwave": {
- "button": "Konfiguruj",
+ "button": "Konfiguracja",
"caption": "Z-Wave",
"common": {
"index": "Indeks",
diff --git a/translations/frontend/pt.json b/translations/frontend/pt.json
index d25874f22f..4223f46171 100644
--- a/translations/frontend/pt.json
+++ b/translations/frontend/pt.json
@@ -519,6 +519,11 @@
"clear": "Limpar",
"show_areas": "Mostrar áreas"
},
+ "date-range-picker": {
+ "end_date": "Data de fim",
+ "select": "Selecione",
+ "start_date": "Data de início"
+ },
"device-picker": {
"clear": "Apagar",
"device": "Dispositivo",
@@ -706,10 +711,10 @@
},
"zha_device_info": {
"buttons": {
- "add": "Adicionar Dispositivos",
+ "add": "Adicionar dispositivos através deste dispositivo",
"reconfigure": "Reconfigurar Dispositivo",
"remove": "Remover Dispositivo",
- "zigbee_information": "Informação Zigbee"
+ "zigbee_information": "Assinatura do dispositivo Zigbee"
},
"confirmations": {
"remove": "Tem a certeza que deseja remover este dispositivo?"
@@ -729,7 +734,7 @@
"unknown": "Desconhecido",
"zha_device_card": {
"area_picker_label": "Área",
- "device_name_placeholder": "Nome do utilizador",
+ "device_name_placeholder": "Alterar o nome do dispositivo",
"update_name_button": "Atualizar Nome"
}
}
@@ -1076,7 +1081,7 @@
},
"integrations": "Integrações",
"integrations_introduction": "As integrações para o Home Assistant Cloud permitem-lhe ligar-se aos serviços na nuvem sem ter de expor publicamente o seu Home Assistant na Internet.",
- "integrations_introduction2": "Consulte o site para ",
+ "integrations_introduction2": "Consulte o site para",
"integrations_link_all_features": " todas as funcionalidades disponíveis",
"manage_account": "Gerir conta",
"nabu_casa_account": "Conta Nabu Casa",
@@ -1185,7 +1190,7 @@
"information2": "A avaliação gratuita dará acesso a todos os benefícios do Home Assistant Cloud, incluindo:",
"information3": "Este serviço é executado pelo nosso parceiro",
"information3a": ", uma empresa criada pelos fundadores do Home Assistant e do Hass.io.",
- "information4": "Ao registrar uma conta, concorda com os seguintes termos e condições.",
+ "information4": "Ao registar uma conta, concorda com os seguintes termos e condições.",
"link_privacy_policy": "Política de privacidade",
"link_terms_conditions": "Termos e condições",
"password": "Palavra-passe",
@@ -1283,7 +1288,7 @@
"device_not_found": "Dispositivo não encontrado.",
"entities": {
"add_entities_lovelace": "Adicionar ao Lovelace",
- "disabled_entities": "+{count} {count, plural,\n uma {entity}\n outras {entities}\n}",
+ "disabled_entities": "+{count} {count, plural,\n one {entidade inactiva}\n other {entidades inactivas}\n}",
"entities": "Entidades",
"hide_disabled": "Mostrar entidades desativadas",
"none": "Este dispositivo não possui entidades"
@@ -1338,6 +1343,7 @@
"button": "Remover selecionado",
"confirm_partly_text": "Você pode remover apenas {removable} das {selected} entidades selecionadas. As entidades só podem ser removidas quando a integração deixar de suportá-las. Por vezes é necessário reiniciar o Home Assistant antes de poder remover as entidades de uma integração removida. Tem a certeza de que deseja remover as entidades removíveis?",
"confirm_partly_title": "Somente {número} entidades selecionadas podem ser removidas.",
+ "confirm_text": "Deve remover da configuração do Lovelace e das automações se contêm estas entidades",
"confirm_title": "Deseja remover {number} entidades?"
},
"selected": "Selecionou {number}",
@@ -1406,8 +1412,9 @@
"delete_button": "Apagar {integration}",
"delete_confirm": "Tem a certeza que pretende apagar esta integração?",
"device_unavailable": "Dispositivo indisponível",
- "devices": "{count} {count, plural,\n um {entity}\n outros {entities}\n}",
- "entities": "{count} {count, plural,\n uma {entity}\n outras {entities}\n}",
+ "devices": "{count} {count, plural,\n one {dispositivo}\n other {dispositivos}\n}",
+ "documentation": "Documentação",
+ "entities": "{count} {count, plural,\n one {entidade}\n other {entidades}\n}",
"entity_unavailable": "Entidade indisponível",
"firmware": "Firmware: {version}",
"hub": "Conectado via",
@@ -1679,7 +1686,7 @@
"group": "Recarregar grupos",
"heading": "A recarregar a configuração YAML",
"input_datetime": "Recarregar input date times",
- "input_select": "Recarregar da",
+ "input_select": "Recarregar input selects",
"introduction": "Algumas partes do Home Assistant podem ser recarregadas sem a necessidade de reiniciar. Ao carregar em Recarregar a configuração irá descartar a configuração atual e carregar a nova.",
"person": "Recarregar pessoas",
"scene": "Recarregar cenas",
From a71c22bedd502d6f593fc9c81797f49f5790014a Mon Sep 17 00:00:00 2001
From: HomeAssistant Azure
Date: Sat, 4 Jul 2020 00:32:24 +0000
Subject: [PATCH 05/58] [ci skip] Translation update
---
translations/frontend/ca.json | 6 +-
translations/frontend/es.json | 4 +
translations/frontend/fr.json | 3 +
translations/frontend/he.json | 13 +-
translations/frontend/ko.json | 10 +-
translations/frontend/lv.json | 255 ++++++++++++++++++++++++++---
translations/frontend/pt.json | 55 ++++++-
translations/frontend/vi.json | 51 +++++-
translations/frontend/zh-Hant.json | 4 +
9 files changed, 362 insertions(+), 39 deletions(-)
diff --git a/translations/frontend/ca.json b/translations/frontend/ca.json
index f28caf3ae0..0b9246869e 100644
--- a/translations/frontend/ca.json
+++ b/translations/frontend/ca.json
@@ -1465,7 +1465,7 @@
},
"configure": "Configurar",
"configured": "Configurades",
- "description": "Gestionar i configurar integracións",
+ "description": "Gestiona i configura les integracions",
"details": "Detalls de la integració",
"discovered": "Descobertes",
"home_assistant_website": "lloc web de Home Assistant",
@@ -2678,6 +2678,10 @@
"not_used": "Mai no s'ha utilitzat",
"token_title": "Token d'actualització de {clientId}"
},
+ "suspend": {
+ "description": "Tancar la connexió amb el servidor després d'haver estat ocult durant 5 minuts?",
+ "header": "Tanca la connexió automàticament"
+ },
"themes": {
"dropdown_label": "Tema",
"error_no_theme": "No hi ha temes disponibles.",
diff --git a/translations/frontend/es.json b/translations/frontend/es.json
index 9f4537b1cc..23a42ebbfd 100644
--- a/translations/frontend/es.json
+++ b/translations/frontend/es.json
@@ -2678,6 +2678,10 @@
"not_used": "Nunca ha sido usado",
"token_title": "Actualizar token para {clientId}"
},
+ "suspend": {
+ "description": "¿Deberíamos cerrar la conexión con el servidor después de estar oculto durante 5 minutos?",
+ "header": "Cerrar automáticamente la conexión"
+ },
"themes": {
"dropdown_label": "Tema",
"error_no_theme": "No hay temas disponibles",
diff --git a/translations/frontend/fr.json b/translations/frontend/fr.json
index 55c7cba8f7..258e5fdafa 100644
--- a/translations/frontend/fr.json
+++ b/translations/frontend/fr.json
@@ -2678,6 +2678,9 @@
"not_used": "N'a jamais été utilisé",
"token_title": "Actualiser le jeton de {clientId}"
},
+ "suspend": {
+ "header": "Fermer automatiquement la connexion"
+ },
"themes": {
"dropdown_label": "Thème",
"error_no_theme": "Aucun thème disponible.",
diff --git a/translations/frontend/he.json b/translations/frontend/he.json
index 1783a8686d..062d5d5618 100644
--- a/translations/frontend/he.json
+++ b/translations/frontend/he.json
@@ -21,7 +21,7 @@
"map": "מפה",
"profile": "פרופיל",
"shopping_list": "רשימת קניות",
- "states": "סקירה כללית"
+ "states": "ראשי"
},
"state_attributes": {
"climate": {
@@ -1431,6 +1431,7 @@
"delete_confirm": "האם אתה בטוח שברצונך למחוק אינטגרציה זו?",
"device_unavailable": "מכשיר אינו זמין",
"devices": "{count} {count, plural,\n one {device}\n other {devices}\n}",
+ "documentation": "תיעוד",
"entities": "{count} {count, plural,\n one {entity}\n other {entities}\n}",
"entity_unavailable": "ישות לא זמינה",
"firmware": "קושחה: {version}",
@@ -2187,7 +2188,7 @@
"icon_height": "גובה אייקון",
"image": "נתיב תמונה",
"manual": "ידני",
- "manual_description": "צריך להוסיף כרטיס מותאם אישית או פשוט רוצה לכתוב באופן ידני את yaml?",
+ "manual_description": "צריך להוסיף כרטיס מותאם אישית או פשוט רוצה לכתוב באופן ידני את ה-yaml?",
"maximum": "מקסימום",
"minimum": "מינימום",
"name": "שם",
@@ -2347,9 +2348,9 @@
"confirm_unsaved_changes": "יש לך שינויים שלא נשמרו, אתה בטוח שברצונך לצאת?",
"confirm_unsaved_comments": "התצורה שלך מכילה הערות, אלה לא יישמרו. האם אתה רוצה להמשיך?",
"error_invalid_config": "התצורה שלך אינה תקפה: {error}",
- "error_parse_yaml": "לא ניתן לנתח את YAML: {error}",
+ "error_parse_yaml": "לא ניתן לנתח את ה-YAML: {error}",
"error_remove": "לא ניתן להסיר את הקונפיגורציה: {error}",
- "error_save_yaml": "אין אפשרות לשמור את YAML: {error}",
+ "error_save_yaml": "אין אפשרות לשמור את ה-YAML: {error}",
"header": "עריכת קונפיגורציה",
"resources_moved": "אין להוסיף עוד משאבים לתצורת Lovelace אך ניתן להוסיף אותם בלוח התצורה של Lovelace.",
"save": "שמור",
@@ -2677,6 +2678,10 @@
"not_used": "לא היה בשימוש",
"token_title": "אסימון רענון עבור {clientId}"
},
+ "suspend": {
+ "description": "האם עלינו לסגור את החיבור לשרת לאחר שהוסתרנו במשך 5 דקות?",
+ "header": "סגור חיבור באופן אוטומטי"
+ },
"themes": {
"dropdown_label": "ערכת נושא",
"error_no_theme": "אין ערכות נושא זמינות.",
diff --git a/translations/frontend/ko.json b/translations/frontend/ko.json
index 5d3084a0e0..17de7351c6 100644
--- a/translations/frontend/ko.json
+++ b/translations/frontend/ko.json
@@ -646,7 +646,7 @@
"pattern": "클라이언트 측 검증을 위한 정규표현식",
"text": "텍스트"
},
- "platform_not_loaded": "{platform} 통합 구성요소가 로드되지 않았습니다. 'default_config:' 또는 \"{platform}:\" 을 추가하여 구성을 추가해주세요.",
+ "platform_not_loaded": "{platform} 통합 구성요소가 로드되지 않았습니다. 'default_config:' 또는 \"{platform}:\" 을 configuration.yaml 에 추가해주세요.",
"required_error_msg": "이 입력란은 필수 요소입니다",
"yaml_not_editable": "이 구성요소의 설정은 UI 에서 편집할 수 없습니다. UI 에서 설정한 구성요소만 UI 에서 구성할 수 있습니다."
},
@@ -2219,8 +2219,8 @@
"name": "수평 모아보기"
},
"humidifier": {
- "description": "가습기 카드는 가습 기기를 제어합니다. 구성요소의 가습 모드를 변경할 수 있습니다.",
- "name": "가습기"
+ "description": "습도 조절기 카드는 가습 및 제습 기기와 같은 습도 조절기기를 제어합니다. 구성요소의 습도 조절 모드를 변경할 수 있습니다.",
+ "name": "습도 조절기"
},
"iframe": {
"description": "웹 페이지 카드를 사용하면 즐겨 찾는 웹 페이지를 Home Assistant 에 삽입할 수 있습니다.",
@@ -2678,6 +2678,10 @@
"not_used": "사용된 적이 없음",
"token_title": "{clientId} 의 리프레시 토큰"
},
+ "suspend": {
+ "description": "Home Assistant UI 가 5분 동안 보이지 않는 경우 서버와의 연결을 종료시킬까요?",
+ "header": "자동 연결 종료"
+ },
"themes": {
"dropdown_label": "테마",
"error_no_theme": "사용할 수 있는 테마가 없습니다.",
diff --git a/translations/frontend/lv.json b/translations/frontend/lv.json
index 51b27da212..649bb7cbb0 100644
--- a/translations/frontend/lv.json
+++ b/translations/frontend/lv.json
@@ -329,8 +329,8 @@
"ui": {
"auth_store": {
"ask": "Vai vēlaties saglabāt šo pieteikšanos?",
- "confirm": "Saglabāt pieteikšanos",
- "decline": "Nē, paldies"
+ "confirm": "Jā",
+ "decline": "Nē"
},
"card": {
"alarm_control_panel": {
@@ -460,7 +460,7 @@
}
},
"common": {
- "back": "Tilbake",
+ "back": "Atpakaļ",
"cancel": "Atcelt",
"loading": "Ielāde",
"no": "Nē",
@@ -476,6 +476,11 @@
},
"clear": "Notīrīt"
},
+ "date-range-picker": {
+ "end_date": "Beigu datums",
+ "select": "Pielietot",
+ "start_date": "Sākuma datums"
+ },
"device-picker": {
"clear": "Notīrīt",
"device": "Ierīce"
@@ -491,8 +496,15 @@
"no_history_found": "Vēsturiskie ieraksti par stāvokli netika atrasti."
},
"related-items": {
+ "area": "Apgabals",
+ "automation": "Izmantojas automatizācijās",
"device": "Ierīce",
- "integration": "Integrācija"
+ "entity": "Saistītās vienības",
+ "group": "Iekļauta grupās",
+ "integration": "Integrācija",
+ "no_related_found": "Nekādas saistības nav atrastas.",
+ "scene": "Izmantojas ainās",
+ "script": "Izmantojas skriptos"
},
"relative_time": {
"duration": {
@@ -515,12 +527,23 @@
"update": "Atjaunināt"
},
"entity_registry": {
+ "dismiss": "Aizvērt",
"editor": {
- "delete": "DZĒST",
+ "confirm_delete": "Vai tiešām vēlaties dzēst šo vienību?",
+ "delete": "Dzēst",
+ "enabled_cause": "Atspējots dēļ {cause}.",
+ "enabled_description": "Atspējotās vienības netiks pievienotas Home Assistant.",
+ "enabled_label": "Iespējot vienību",
+ "entity_id": "Vienības ID",
+ "icon": "Pielāgota ikona",
+ "icon_error": "Ikonām jābūt formātā “prefikss:nosaukums”, piemēram, “mdi:home”",
"name": "Nosaukuma pārlabošana",
"note": "Ievērībai: pašlaik tas var nedarboties ar visām integrācijām.",
- "unavailable": "Šī vienība pašlaik nav pieejama."
+ "unavailable": "Šī vienība pašlaik nav pieejama.",
+ "update": "Atjaunināt"
},
+ "no_unique_id": "Šai vienībai nav unikāla ID, tāpēc tās iestatījumus nevar pārvaldīt, izmantojot lietotāja saskarni.",
+ "related": "Saistības",
"settings": "Iestatījumi"
},
"generic": {
@@ -529,18 +552,40 @@
},
"helper_settings": {
"generic": {
- "icon": "Ikona"
+ "icon": "Ikona",
+ "name": "Nosaukums"
+ },
+ "input_datetime": {
+ "date": "Datums",
+ "datetime": "Datums un laiks",
+ "mode": "Ko vēlaties ievadīt",
+ "time": "Laiks"
+ },
+ "input_number": {
+ "box": "Ievades lauks",
+ "max": "Maksimālā vērtība",
+ "min": "Minimālā vērtība",
+ "mode": "Rādīšanas režīms",
+ "step": "Soļa lielums",
+ "unit_of_measurement": "Mērvienība"
},
"input_select": {
"add": "Pievienot",
"add_option": "Pievienot iespēju",
+ "no_options": "Vēl nav nevienas opcijas",
"options": "Iespējas"
},
"input_text": {
+ "max": "Maksimālais garums",
+ "min": "Minimālais garums",
+ "mode": "Rādīšanas režīms",
"password": "Parole",
+ "pattern": "Regex izteiksme klienta puses validācijai",
"text": "Teksts"
},
- "required_error_msg": "Šis lauks ir obligāts"
+ "platform_not_loaded": "{platform} integrācija nav ielādēta. Lūdzu, pievienojiet 'default_config:' vai ''{platform}:'' savā konfigurācijā.",
+ "required_error_msg": "Šis lauks ir obligāts",
+ "yaml_not_editable": "Šīs vienības iestatījumus nevar rediģēt, izmantojot lietotāja saskarni. Tikai lietotāja saskarnē iestatītie vienumi ir konfigurējami no lietotāja saskarnes."
},
"more_info_control": {
"dismiss": "Aizvērt dialogu",
@@ -632,7 +677,7 @@
"editor": {
"create": "IZVEIDOT",
"delete": "DZĒST",
- "name": "Navn",
+ "name": "Nosaukums",
"update": "ATJAUNINĀT"
},
"picker": {
@@ -863,6 +908,9 @@
"delete_confirm": "Vai tiešām vēlaties dzēst šo automatizāciju?",
"edit_automation": "Rediģēt automatizāciju",
"header": "Automatizāciju redaktors",
+ "headers": {
+ "name": "Nosaukums"
+ },
"introduction": "Automatizācijas redaktors ļauj jums izveidot un rediģēt automatizācijas. Lūdzu, sekojiet saitei zemāk, lai pārliecinātos, ka esat pareizi konfigurējis Home Assistant.",
"learn_more": "Uzziniet vairāk par automatizācijām",
"no_automations": "Mēs nevarējām atrast rediģējamas automatizācijas",
@@ -913,7 +961,9 @@
"edit_requires_storage": "Redaktors ir atspējots, jo konfigurācija ir definēta configuration.yaml.",
"elevation": "Augstums",
"elevation_meters": "metri",
+ "external_url": "Ārējais URL",
"imperial_example": "Fārenheita, mārciņas",
+ "internal_url": "Iekšējais URL",
"latitude": "Platums",
"location_name": "Jūsu Home Assistant instalācijas nosaukums",
"longitude": "Garums",
@@ -930,12 +980,16 @@
}
},
"customize": {
+ "attributes_customize": "Šie atribūti jau ir iestatīti customize.yaml konfigurācijā",
"attributes_not_set": "Šie atribūti netika iestatīti. Iestatiet tos, ja vēlaties.",
+ "attributes_outside": "Šie atribūti tiek pielāgoti ārpus customize.yaml",
"attributes_override": "Varat pārlabot pēc savas patikas.",
+ "attributes_set": "Šie vienības atribūti ir iestatīti programmatiski.",
"caption": "Pielāgojumi",
"description": "Pielāgojiet jūsu iekārtas",
"pick_attribute": "Izvēlieties atribūtu, kuru pārlabot",
"picker": {
+ "entity": "Vienība",
"header": "Pielāgojumi",
"introduction": "Uzlabojiet atribūtus katrai vienībai. Pievienotie jeb mainīties pielāgojumi stāsies spēkā nekavējoties. Noņemtie pielāgojumi stāsies spēkā, kad vienība tiks atjaunināta."
},
@@ -944,7 +998,21 @@
}
},
"devices": {
+ "automation": {
+ "automations": "Automatizācijas",
+ "conditions": {
+ "caption": "Darīt kaut ko tikai tad, ja ..."
+ },
+ "create": "Izveidot automatizāciju ar ierīci",
+ "no_automations": "Nav automatizāciju",
+ "no_device_automations": "Šai ierīcei nav pieejamas automatizācijas",
+ "triggers": {
+ "caption": "Darīt kaut ko tad, kad ..."
+ }
+ },
+ "cant_edit": "Rediģējamas ir tikai tās vienības, kas izveidotas, izmantojot lietotāja saskarni.",
"caption": "Ierīces",
+ "confirm_delete": "Vai tiešām vēlaties izdzēst šo ierīci?",
"confirm_rename_entity_ids": "Vai vēlaties pārdēvēt arī vienības ID no Jūsu vinībām?",
"data_table": {
"area": "Apgabals",
@@ -952,10 +1020,35 @@
"device": "Ierīce",
"integration": "Integrācija",
"manufacturer": "Ražotājs",
- "model": "Modelis"
+ "model": "Modelis",
+ "no_area": "Apgabals nav norādīts",
+ "no_devices": "Nav ierīču"
},
+ "delete": "Dzēst",
"description": "Pievienoto ierīču pārvaldība",
+ "device_info": "Informācija par ierīci",
"device_not_found": "Ierīce nav atrasta.",
+ "entities": {
+ "add_entities_lovelace": "Pievienot Lovelace",
+ "disabled_entities": "+{count} {count, plural,\n one {atspējota ierīce}\n other {atspējotas ierīces}\n}",
+ "entities": "Vienības",
+ "hide_disabled": "Slēpt atspējotās",
+ "none": "Šai ierīcei nav vienību"
+ },
+ "name": "Nosaukums",
+ "no_devices": "Nav ierīču",
+ "scene": {
+ "create": "Izveidot ainu ar ierīci",
+ "no_scenes": "Nav ainas",
+ "scenes": "Ainas"
+ },
+ "scenes": "Ainas",
+ "script": {
+ "create": "Izveidot skriptu ar ierīci",
+ "no_scripts": "Nav skriptu",
+ "scripts": "Skripti"
+ },
+ "scripts": "Skripti",
"unknown_error": "Nezināma kļūda",
"unnamed_device": "Nenosaukta ierīce",
"update": "Atjaunināt"
@@ -994,7 +1087,7 @@
"confirm_text": "Vienības var noņemt tikai tad, kad tās vairs nerada attiecīgā integrācija.",
"confirm_title": "Vai vēlaties noņemt {number} vienības?"
},
- "selected": "{numurs} atlasītas",
+ "selected": "{number} atlasītas",
"status": {
"disabled": "Atspējota",
"ok": "Labi",
@@ -1005,21 +1098,47 @@
},
"header": "Home Assistant konfigurēšana",
"helpers": {
+ "caption": "Palīgi",
+ "description": "Elementi, kas var palīdzēt automatizāciju veidošanā",
"dialog": {
+ "add_helper": "Pievienot palīgu",
+ "add_platform": "Pievienot {platform}",
"create": "Izveidot"
},
"picker": {
+ "add_helper": "Pievienot palīgu",
"headers": {
+ "editable": "Rediģējams",
+ "entity_id": "Vienības ID",
+ "name": "Nosaukums",
"type": "Veids"
}
},
"types": {
+ "input_boolean": "Pārslēdzējs",
+ "input_datetime": "Datums un/vai laiks",
+ "input_number": "Skaitlis",
+ "input_select": "Izkrītošā izvēlne",
"input_text": "Teksts"
}
},
"info": {
+ "built_using": "Veidots, izmantojot",
+ "caption": "Informācija",
+ "custom_uis": "Pielāgots UI:",
+ "description": "Informācija par šo Home Assistant instalāciju",
+ "documentation": "Dokumentācija",
+ "frontend": "lietotāja saskarne",
+ "frontend_version": "Lietotāja saskarnes versija: {version} - {type}",
+ "home_assistant_logo": "Home Assistant logotips",
+ "icons_by": "Ikonas no",
+ "integrations": "Integrācijas",
+ "issues": "Problēmas",
+ "license": "Publicēts saskaņā ar Apache 2.0 licenci",
+ "path_configuration": "Ceļš uz configuration.yaml: {path}",
"server": "serveris",
- "source": "Avots:",
+ "source": "Pirmkods:",
+ "system_health_error": "System Health komponents nav ielādēts. Pievienojiet “system_health:” bloku configuration.yaml",
"title": "Informācija"
},
"integrations": {
@@ -1029,6 +1148,7 @@
"delete_button": "Dzēst {integration}",
"delete_confirm": "Vai tiešām vēlaties dzēst šo integrāciju?",
"device_unavailable": "ierīce nav pieejama",
+ "documentation": "Dokumentācija",
"entity_unavailable": "vienība nav pieejama",
"firmware": "Programmaparatūra: {version}",
"hub": "Savienots caur",
@@ -1072,15 +1192,82 @@
"stop_ignore": "Pārtraukt ignorēšanu"
},
"integration_not_found": "Integrācija nav atrasta.",
- "new": "Izveidot jaunu integrāciju",
+ "new": "Pievienot jaunu integrāciju",
"none": "Pagaidām nekas nav nokonfigurēts",
+ "none_found_detail": "Pielāgot meklēšanas kritērijus.",
"note_about_integrations": "Pagaidām ne visas integrācijas var nokonfigurēt, izmantojot lietotāja saskarni.",
"note_about_website_reference": "Vairāk informācijas vietnē "
},
- "introduction": "Šeit iespējams konfigurēt Jūsu komponentus un pašu Home Assistant. Pagaidām ne visu ir iespējams konfigurēt no lietotāja saskarnes, bet mēs strādājam pie tā.",
+ "introduction": "Šeit iespējams konfigurēt Jūsu komponentus un pašu Home Assistant. Pagaidām ne visu ir iespējams konfigurēt, izmantojot lietotāja saskarni, bet mēs strādājam pie tā.",
"logs": {
+ "caption": "Žurnāli",
"clear": "Notīrīt",
- "refresh": "Atsvaidzināt"
+ "description": "Pārskatiet Home Assistant žurnālus",
+ "details": "Detaļas ({level})",
+ "load_full_log": "Ielādēt pilnu Home Assistant žurnālu",
+ "loading_log": "Kļūdu žurnāla ielāde...",
+ "multiple_messages": "ieraksts pirmo reizi parādījās {time} un pārādas {counter} reizes",
+ "no_errors": "Par kļūdām nav ziņots",
+ "no_issues": "Nav jaunu problēmu!",
+ "refresh": "Atsvaidzināt",
+ "title": "Žurnāli"
+ },
+ "lovelace": {
+ "caption": "Lovelace infopaneļi",
+ "dashboards": {
+ "cant_edit_default": "Standarta Lovelace infopaneli nevar rediģēt lietotāja saskarnē. Varat to paslēpt, iestatot citu infopaneli kā noklusēto.",
+ "cant_edit_yaml": "YAML definētos infopaneļus nevar rediģēt, izmantojot lietotāja saskarni. Mainiet tos konfigurācijā.yaml.",
+ "caption": "Infopaneļi",
+ "conf_mode": {
+ "storage": "UI kontrolēts",
+ "yaml": "YAML fails"
+ },
+ "confirm_delete": "Vai tiešām vēlaties izdzēst šo infopaneli?",
+ "default_dashboard": "Šis ir noklusējuma infopanelis",
+ "detail": {
+ "create": "Izveidot",
+ "delete": "Dzēst",
+ "dismiss": "Aizvērt",
+ "edit_dashboard": "Rediģēt infopaneli",
+ "icon": "Ikona",
+ "new_dashboard": "Pievienot jaunu infopaneli",
+ "remove_default": "Noņemt kā noklusējumu šajā ierīcē",
+ "require_admin": "Tikai administratoram",
+ "set_default": "Iestatīt kā noklusējumu šajā ierīcē",
+ "show_sidebar": "Rādīt sānjoslā",
+ "title": "Nosaukums",
+ "title_required": "Nosaukums ir obligāts.",
+ "update": "Atjaunināt",
+ "url": "URL",
+ "url_error_msg": "URL ir jāsatur - un tajā nedrīkst būt atstarpes vai speciālās rakstzīmes, izņemot _ un -"
+ },
+ "picker": {
+ "add_dashboard": "Pievienot infopaneli",
+ "headers": {
+ "conf_mode": "Konfigurācijas metode",
+ "default": "Noklusējuma",
+ "filename": "Faila nosaukums",
+ "require_admin": "Tikai administratoram",
+ "sidebar": "Rādīt sānjoslā",
+ "title": "Nosaukums"
+ },
+ "open": "Atvērt"
+ }
+ },
+ "description": "Konfigurējiet savus Lovelace infopaneļus",
+ "resources": {
+ "cant_edit_yaml": "Jūs izmantojat Lovelace YAML režīmā, tāpēc jūs nevarat pārvaldīt savus resursus, izmantojot lietotāja saskarni. Pārvaldiet tos konfigurācijā.yaml.",
+ "caption": "Resursi",
+ "detail": {
+ "url": "URL"
+ },
+ "picker": {
+ "headers": {
+ "url": "URL"
+ },
+ "no_resources": "Nav resursu"
+ }
+ }
},
"mqtt": {
"publish": "Publicēt",
@@ -1176,6 +1363,7 @@
"introduction": "Skriptu redaktors ļauj jums izveidot un rediģēt skriptus. Lūdzu, izmantojiet zemāk esošo saiti, lai izlasītu instrukcijas, lai pārliecinātos, ka esat pareizi konfigurējis Home Assistant.",
"learn_more": "Uzziniet vairāk par skriptiem",
"no_scripts": "Rediģējami skripti nav atrasti",
+ "show_info": "Rādīt informāciju par skriptu",
"trigger_script": "Izpildīt skriptu"
}
},
@@ -1220,10 +1408,11 @@
"username": "Lietotājvārds"
},
"caption": "Lietotāji",
- "description": "Pārvaldīt lietotājus",
+ "description": "Pārvaldiet lietotājus",
"editor": {
"activate_user": "Aktivizēt lietotāju",
"active": "Aktīvs",
+ "admin": "Administrators",
"caption": "Skatīt lietotāju",
"change_password": "Mainīt paroli",
"confirm_user_deletion": "Vai tiešām vēlaties dzēst {name}?",
@@ -1231,11 +1420,22 @@
"delete_user": "Dzēst lietotāju",
"group": "Grupa",
"id": "ID",
+ "name": "Vārds",
"owner": "Īpašnieks",
"system_generated": "Sistēmas ģenerēts",
- "system_generated_users_not_removable": "Nevar noņemt sistēmas ģenerētos lietotājus.",
- "unnamed_user": "Lietotājs bez vārda"
- }
+ "system_generated_users_not_editable": "Sistēmas ģenerētos lietotājus nevar atjaunināt.",
+ "system_generated_users_not_removable": "Sistēmas ģenerētos lietotājus nevar dzēst.",
+ "unnamed_user": "Lietotājs bez vārda",
+ "update_user": "Atjaunināt"
+ },
+ "picker": {
+ "headers": {
+ "group": "Grupa",
+ "name": "Vārds",
+ "system": "Sistēmas"
+ }
+ },
+ "users_privileges_note": "Lietotāju grupa ir izstrādes procesā. Lietotājs nevarēs administrēt instalāciju, izmantojot lietotāja saskarni. Mēs joprojām pārbaudām pārvaldības API, lai pārliecinātos, ka tie pareizi ierobežo piekļuvi administratoriem."
},
"zha": {
"add_device_page": {
@@ -1378,6 +1578,12 @@
"logbook": {
"entries_not_found": "Neviens žurnāla ieraksts nav atrasts.",
"period": "Periods",
+ "ranges": {
+ "last_week": "Iepriekšējā nedēļā",
+ "this_week": "Šonedēļ",
+ "today": "Šodien",
+ "yesterday": "Vakardien"
+ },
"showing_entries": "Ieraksti par"
},
"lovelace": {
@@ -1414,7 +1620,8 @@
"toggle": "Pārslēgt vienības."
},
"generic": {
- "icon": "Ikona"
+ "icon": "Ikona",
+ "url": "URL"
},
"iframe": {
"name": "iFrame"
@@ -1479,6 +1686,7 @@
"error_parse_yaml": "Nevar noparsēt YAML: {error}",
"error_save_yaml": "Nevar saglabāt YAML: {error}",
"header": "Konfigurācijas redaktors",
+ "resources_moved": "Resursus vairs nevajadzētu pievienot Lovelace konfigurācijai, bet tos var pievienot Lovelace konfigurācijas panelī.",
"save": "Saglabāt",
"saved": "Saglabāts",
"unsaved_changes": "Nesaglabātās izmaiņas"
@@ -1497,7 +1705,8 @@
"configure_ui": "Konfigurēt lietotāja saskarni",
"exit_edit_mode": "Iziet no UI rediģēšanas režīma",
"help": "Palīdzība",
- "refresh": "Atsvaidzināt"
+ "refresh": "Atsvaidzināt",
+ "reload_resources": "Pārlādēt resursus"
},
"reload_lovelace": "Pārlādēt lietotāja saskarni",
"unused_entities": {
@@ -1764,6 +1973,10 @@
"not_used": "Nekad nav izmantots",
"token_title": "{clientId} atsvaidzināšanas pilnvara"
},
+ "suspend": {
+ "description": "Vai pārtraukt savienojumu ar serveri pēc 5 neativitātes minūtēm?",
+ "header": "Automātiski pārtraukt savienojumu"
+ },
"themes": {
"dropdown_label": "Tēma",
"error_no_theme": "Nav nevienas tēmas",
diff --git a/translations/frontend/pt.json b/translations/frontend/pt.json
index 4223f46171..42b6d09ba4 100644
--- a/translations/frontend/pt.json
+++ b/translations/frontend/pt.json
@@ -52,9 +52,14 @@
"humidifier": {
"mode": {
"auto": "Auto",
+ "away": "Ausente",
+ "baby": "Bebê",
+ "boost": "Impulso",
"comfort": "Conforto",
"eco": "Eco",
- "normal": "Normal"
+ "home": "Início",
+ "normal": "Normal",
+ "sleep": "Dormir"
}
}
},
@@ -497,6 +502,7 @@
"menu": "Menu",
"next": "Seguinte",
"no": "Não",
+ "overflow_menu": "Abrir menu Lovelace IU",
"previous": "Anterior",
"refresh": "Atualizar",
"save": "Guardar",
@@ -712,6 +718,7 @@
"zha_device_info": {
"buttons": {
"add": "Adicionar dispositivos através deste dispositivo",
+ "clusters": "Gerir utilizadores",
"reconfigure": "Reconfigurar Dispositivo",
"remove": "Remover Dispositivo",
"zigbee_information": "Assinatura do dispositivo Zigbee"
@@ -1387,7 +1394,9 @@
},
"info": {
"built_using": "Construído com",
+ "caption": "Informação",
"custom_uis": "IUs personalizados:",
+ "description": "Saiba mais sobre o Home Assistant Cloud",
"developed_by": "Desenvolvido por um punhado de pessoas incríveis.",
"documentation": "Documentação",
"frontend": "",
@@ -1403,6 +1412,11 @@
"system_health_error": "O componente System Health não está carregado. Adicione 'system_health:' ao configuration.yaml",
"title": "Informações"
},
+ "integration_panel_move": {
+ "link_integration_page": "Página de Integrações",
+ "missing_zha": "Está faltando o painel de configuração do Z-Wave? Foi movido para a entrada do Z-Wave na {integrations_page} .",
+ "missing_zwave": "Está faltando o painel de configuração do Z-Wave? Foi movido para a entrada do Z-Wave na {integrations_page} ."
+ },
"integrations": {
"add_integration": "Adicionar integração",
"caption": "Integrações",
@@ -1476,7 +1490,9 @@
},
"introduction": "Aqui é possível configurar os seus componentes e o Home Assistant. Nem tudo é possível de ser configurado a partir da Interface Gráfica, mas estamos a trabalhar para isso.",
"logs": {
+ "caption": "Logs",
"clear": "Limpar",
+ "description": "Exibir os logs do Assistente Inicial",
"details": "Detalhes do log ( {level} )",
"load_full_log": "Carregar log completo do Home Assistant",
"loading_log": "A carregar o log de erros...",
@@ -1685,8 +1701,11 @@
"core": "Recarregar localização e personalizações",
"group": "Recarregar grupos",
"heading": "A recarregar a configuração YAML",
+ "input_boolean": "Recarregar booleanos de entrada",
"input_datetime": "Recarregar input date times",
+ "input_number": "Recarregar input numbers",
"input_select": "Recarregar input selects",
+ "input_text": "Recarregar input texts",
"introduction": "Algumas partes do Home Assistant podem ser recarregadas sem a necessidade de reiniciar. Ao carregar em Recarregar a configuração irá descartar a configuração atual e carregar a nova.",
"person": "Recarregar pessoas",
"scene": "Recarregar cenas",
@@ -1745,12 +1764,16 @@
"name": "Nome",
"system": "Sistema"
}
- }
+ },
+ "users_privileges_note": "O grupo de usuários é um trabalho em andamento. O usuário não poderá administrar a instância por meio da interface do usuário. Ainda estamos auditando todos os pontos de extremidade da API de gerenciamento para garantir que eles limitem corretamente o acesso aos administradores."
},
"zha": {
"add_device_page": {
+ "discovered_text": "Os dispositivos aparecerão aqui uma vez descobertos.",
"discovery_text": "Os dispositivos descobertos aparecerão aqui. Siga as instruções para o(s) seu(s) dispositivo(s) e coloque o(s) dispositivo(s) em modo de emparelhamento.",
"header": "Zigbee Home Automation - Adicionar dispositivos",
+ "no_devices_found": "Nenhum dispositivo encontrado, verifique se eles estão no modo de emparelhamento e mantenha-os acordados enquanto a descoberta está em execução.",
+ "pairing_mode": "Verifique se seus dispositivos estão no modo de emparelhamento. Verifique as instruções do seu dispositivo sobre como fazer isso.",
"search_again": "Pesquisar Novamente",
"spinner": "À procura de dispositivos ZHA Zigbee..."
},
@@ -1758,6 +1781,7 @@
"caption": "Adicionar Dispositivos",
"description": "Adicionar dispositivos à rede Zigbee"
},
+ "button": "Configurar",
"caption": "ZHA",
"cluster_attributes": {
"attributes_of_cluster": "Atributos do cluster selecionado",
@@ -1836,6 +1860,9 @@
"header": "Gestão ",
"introduction": "Comandos que afetam toda a rede"
},
+ "network": {
+ "caption": "Rede"
+ },
"node_management": {
"header": "Gestão dispositivos",
"help_node_dropdown": "Selecione um dispositivo para visualizar as opções por dispositivo.",
@@ -1875,6 +1902,7 @@
"no_zones_created_yet": "Parece que você ainda não criou nenhuma zona."
},
"zwave": {
+ "button": "Configurar UI",
"caption": "Z-Wave",
"common": {
"index": "Índice",
@@ -1908,7 +1936,18 @@
"true": "Verdadeiro"
},
"node_management": {
- "exclude_entity": "Excluir esta entidade do Home Assistant"
+ "entities": "Entidades deste nó",
+ "entity_info": "Definições da entidade",
+ "exclude_entity": "Excluir esta entidade do Home Assistant",
+ "group": "Grupo",
+ "node_group_associations": "Associações de grupos de nós",
+ "node_protection": "Proteção de nó",
+ "node_to_control": "Configurar opçoes do nó",
+ "nodes": "Nós",
+ "nodes_hint": "Selecione o nó para visualizar as opções por nó",
+ "pooling_intensity": "Intensidade da votação",
+ "protection": "Proteção",
+ "set_protection": "Definir proteção"
},
"ozw_log": {
"header": "Log OZW",
@@ -1919,14 +1958,17 @@
"add_node_secure": "Adicionar nó seguro",
"cancel_command": "Cancelar comando",
"heal_network": "Curar a Rede",
+ "heal_node": "Adicionar nó",
"node_info": "Informação do Nó",
+ "print_node": "Nó de impressão",
"refresh_entity": "Actualizar entidade",
"remove_node": "Remover nó",
"save_config": "Guardar configuração",
"soft_reset": "Reinicio suave",
"start_network": "Iniciar a rede",
"stop_network": "Parar a rede",
- "test_network": "Testar rede"
+ "test_network": "Testar rede",
+ "test_node": "Nó de Teste"
},
"values": {
"header": "Valores do Nó"
@@ -2158,6 +2200,7 @@
"name": "Agrupamento Horizontal"
},
"humidifier": {
+ "description": "O cartão Termóstato dá-lhe o controle da sua entidade de climatização. Permitindo alterar a temperatura e o modo dessa entidade.",
"name": "Humidificador"
},
"iframe": {
@@ -2615,6 +2658,10 @@
"not_used": "Nunca foi utilizado",
"token_title": "Atualizar o token de {clientId}"
},
+ "suspend": {
+ "description": "Devemos fechar a conexão com o servidor depois de ficar oculto por 5 minutos?",
+ "header": "Fechar automaticamente a conexão"
+ },
"themes": {
"dropdown_label": "Tema",
"error_no_theme": "Não há temas disponíveis.",
diff --git a/translations/frontend/vi.json b/translations/frontend/vi.json
index 99807773aa..5c8f715fba 100644
--- a/translations/frontend/vi.json
+++ b/translations/frontend/vi.json
@@ -624,6 +624,7 @@
"yaml_not_editable": "Không thể sửa cài đặt của thực thể này từ giao diện người dùng. Chỉ các thực thể được thiết lập từ giao diện người dùng mới có thể được sửa chữa từ giao diện người dùng."
},
"more_info_control": {
+ "dismiss": "Bỏ qua hộp thoại",
"edit": "Chỉnh sửa thực thể",
"person": {
"create_zone": "Tạo vùng từ vị trí hiện tại"
@@ -639,6 +640,7 @@
"last_action": "Hành động cuối",
"last_triggered": "Lần kích hoạt cuối"
},
+ "settings": "Các cài đặt thực thể",
"sun": {
"elevation": "Độ cao",
"rising": "Mọc lên",
@@ -672,6 +674,8 @@
"triggers": "Các kích hoạt"
},
"voice_command": {
+ "did_not_hear": "Home Assistant không nghe thấy gì cả",
+ "how_can_i_help": "Tôi có thể giúp gì nào?",
"label": "Nhập câu hỏi và nhấn 'Enter'"
},
"zha_device_info": {
@@ -703,6 +707,7 @@
},
"notification_drawer": {
"click_to_configure": "Nhấp vào nút để cấu hình {entity}",
+ "close": "Đóng",
"empty": "Không có thông báo",
"title": "Thông báo"
},
@@ -850,6 +855,8 @@
"unsupported_condition": "Điều kiện không được hỗ trợ: {condition}"
},
"default_name": "Thêm Tự động hóa",
+ "edit_ui": "Chỉnh sửa với UI",
+ "edit_yaml": "Chỉnh sửa dưới dạng YAML",
"enable_disable": "Bật/Tắt tự động hóa",
"introduction": "Sử dụng tự động hóa để mang sự sống cho nhà bạn",
"load_error_not_editable": "Chỉ tự động hóa trong automations.yaml là có thể chỉnh sửa.",
@@ -1012,6 +1019,10 @@
"entity": "Thực thể",
"header": "Tùy chỉnh",
"introduction": "Tinh chỉnh thuộc tính mỗi thực thể. Các tùy chỉnh được thêm / chỉnh sửa sẽ có hiệu lực ngay lập tức. Các tùy chỉnh bị xóa sẽ có hiệu lực khi thực thể được cập nhật."
+ },
+ "warning": {
+ "include_link": "bao gồm customize.yaml",
+ "include_sentence": "Có vẻ như cấu hình trong configuration.yaml của bạn chưa đúng"
}
},
"devices": {
@@ -1071,10 +1082,13 @@
"description": "Tổng quan tất cả các thực thể đã biết.",
"picker": {
"disable_selected": {
- "button": "Vô hiệu hoá các mục đã chọn"
+ "button": "Vô hiệu hoá các mục đã chọn",
+ "confirm_text": "Các thực thể bị vô hiệu hoá sẽ không được thêm vào Home Assistant.",
+ "confirm_title": "Bạn có muốn vô hiệu hoá {number} thực thể không?"
},
"enable_selected": {
- "button": "Kích hoạt các mục đã chọn"
+ "button": "Kích hoạt các mục đã chọn",
+ "confirm_title": "Bạn có muốn kích hoạt {number} thực thể?"
},
"filter": {
"filter": "Lọc",
@@ -1084,13 +1098,17 @@
},
"header": "Đăng ký thực thể",
"headers": {
+ "entity_id": "Mã định danh Thực thể",
+ "integration": "Tích hợp",
+ "name": "Tên",
"status": "Trạng thái"
},
"introduction": "Home Assistant giữ một sổ đăng ký của mọi thực thể mà nó từng thấy có thể được xác định duy nhất. Mỗi thực thể này sẽ có một ID thực thể được gán sẽ chỉ dành riêng cho thực thể này.",
"introduction2": "Sử dụng sổ đăng ký thực thể để ghi đè tên, thay đổi ID thực thể hoặc xóa mục nhập khỏi Home Assistant. Lưu ý, xóa mục đăng ký thực thể sẽ không xóa thực thể. Để làm điều đó, hãy theo liên kết dưới đây và xóa nó khỏi trang tích hợp.",
"remove_selected": {
"button": "Loại bỏ mục đã chọn",
- "confirm_partly_title": "Chỉ {number} thực thể đã chọn có thể bị xoá."
+ "confirm_partly_title": "Chỉ {number} thực thể đã chọn có thể bị xoá.",
+ "confirm_title": "Bạn có muốn xoá bỏ {number} thực thể không?"
},
"selected": "{number} đã chọn",
"status": {
@@ -1162,6 +1180,7 @@
"delete_confirm": "Bạn chắc chắn muốn xóa bộ tích hợp này?",
"device_unavailable": "Thiết bị không khả dụng",
"devices": "{count} {count, plural,\n one { thiết bị }\n other { các thiết bị }\n}",
+ "documentation": "Tài liệu",
"entities": "{count} {count, plural,\n one { thực thể }\n other { các thực thể }\n}",
"entity_unavailable": "Thiết bị không khả dụng",
"firmware": "Firmware: {version}",
@@ -1193,10 +1212,13 @@
"configure": "Cấu hình",
"configured": "Đã cấu hình",
"description": "Quản lý thiết bị và dịch vụ đã kết nối",
+ "details": "Chi tiết về tích hợp",
"discovered": "Đã quét",
"ignore": {
"confirm_delete_ignore_title": "Ngừng bỏ qua {name}?",
+ "confirm_ignore_title": "Bỏ qua tự động phát hiện {name}?",
"hide_ignored": "Ẩn các tích hợp bị bỏ qua",
+ "ignore": "Bỏ qua",
"ignored": "Đã bỏ qua",
"show_ignored": "Hiển thị các tích hợp bị bỏ qua",
"stop_ignore": "Ngừng bỏ qua"
@@ -1373,6 +1395,7 @@
"caption": "Kịch bản",
"description": "Tạo và chỉnh sửa các tập lệnh",
"editor": {
+ "alias": "Tên",
"delete_script": "Xóa kịch bản",
"link_available_actions": "Tìm hiểu thêm về các hành động khả dụng.",
"sequence": "Trình tự",
@@ -1440,6 +1463,7 @@
"deactivate_user": "Hủy kích hoạt người dùng",
"delete_user": "Xóa người dùng",
"name": "Tên",
+ "system_generated_users_not_editable": "Không thể chỉnh sửa người dùng do hệ thống tạo ra.",
"update_user": "Cập nhật"
},
"picker": {
@@ -1481,7 +1505,9 @@
"bind_button_label": "Liên kết Nhóm",
"cluster_selection_help": "Chọn các cụm để liên kết với nhóm đã chọn.",
"group_picker_help": "Chọn một nhóm để thi hành một lệnh liên kết.",
+ "group_picker_label": "Các nhóm có thể Liên kết",
"header": "Ràng buộc Nhóm",
+ "introduction": "Liên kết và ngừng liên kết các nhóm.",
"unbind_button_help": "Hủy liên kết nhóm đã chọn khỏi cụm thiết bị đã chọn.",
"unbind_button_label": "Ngừng liên kết Nhóm"
},
@@ -1564,13 +1590,15 @@
},
"node_management": {
"add_to_group": "Thêm vào Nhóm",
+ "entities": "Các thực thể của nút này",
"group": "Nhóm",
"node_to_control": "Nút để điều khiển",
"remove_from_group": "Xóa Khỏi Nhóm"
},
"ozw_log": {
"last_log_lines": "Số dòng nhật ký gần nhất",
- "load": "Tải"
+ "load": "Tải",
+ "tail": "Đuôi"
},
"services": {
"cancel_command": "Hủy lệnh",
@@ -1642,6 +1670,7 @@
},
"templates": {
"editor": "Trình soạn thảo bản mẫu",
+ "jinja_documentation": "Tài liệu về Jinja2",
"title": "Mẫu sẵn",
"unknown_error_template": "Lỗi không xác định khi kết xuất bản mẫu"
}
@@ -1729,7 +1758,9 @@
"state_not_equal": "Trạng thái không bằng với"
},
"entities": {
- "description": "Thẻ Các Thực thể là loại thẻ phổ biến nhất. Nó nhóm các mục với nhau thành một danh sách."
+ "description": "Thẻ Các Thực thể là loại thẻ phổ biến nhất. Nó nhóm các mục với nhau thành một danh sách.",
+ "name": "Các Thực thể",
+ "show_header_toggle": "Hiển thị Nút chuyển đổi ở Trên cùng"
},
"entity-filter": {
"description": "Thẻ Bộ lọc Thực thể cho phép bạn xác định danh sách các thực thể mà bạn muốn theo dõi chỉ khi chúng ở trạng thái nhất định.",
@@ -1745,6 +1776,7 @@
"generic": {
"attribute": "Thuộc tính",
"double_tap_action": "Hành động khi Nhấn Đôi",
+ "entities": "Các Thực thể",
"manual": "Thủ công",
"manual_description": "Cần thêm một thẻ tuỳ chỉnh hay chỉ muốn viết cấu hình yaml thủ công?",
"no_theme": "Không có theme.",
@@ -1845,6 +1877,7 @@
"delete": "Xóa Tầm nhìn",
"edit": "Chỉnh sửa Tầm nhìn",
"header": "Cấu hình Tầm nhìn",
+ "move_left": "Chuyển tầm nhìn sang trái",
"move_right": "Di chuyển tầm nhìn sang phải",
"tab_badges": "Huy hiệu",
"tab_settings": "Cài đặt",
@@ -1907,6 +1940,7 @@
"menu": {
"close": "Đóng",
"configure_ui": "Cấu hình giao diện",
+ "exit_edit_mode": "Thoát khỏi chế độ chỉnh sửa với UI",
"help": "Trợ giúp",
"refresh": "Làm tươi",
"reload_resources": "Tải lại các tài nguyên"
@@ -2177,6 +2211,10 @@
"not_used": "Chưa bao giờ được sử dụng",
"token_title": "Làm mới token cho {clientId}"
},
+ "suspend": {
+ "description": "Chúng ta có nên đóng kết nối đến máy chủ sau khi trình duyệt được ẩn trong 5 phút?",
+ "header": "Tự động đóng kết nối"
+ },
"themes": {
"dropdown_label": "Giao diện",
"error_no_theme": "Không có giao diện nào.",
@@ -2191,7 +2229,8 @@
}
},
"sidebar": {
- "external_app_configuration": "Cấu hình ứng dụng"
+ "external_app_configuration": "Cấu hình ứng dụng",
+ "sidebar_toggle": "Ẩn/Hiện Thanh Bên"
}
}
}
\ No newline at end of file
diff --git a/translations/frontend/zh-Hant.json b/translations/frontend/zh-Hant.json
index 8cd8272259..3a1d810592 100644
--- a/translations/frontend/zh-Hant.json
+++ b/translations/frontend/zh-Hant.json
@@ -2678,6 +2678,10 @@
"not_used": "從未使用過",
"token_title": "{clientId}更新密鑰"
},
+ "suspend": {
+ "description": "於隱藏五分鐘後關閉連線?",
+ "header": "自動關閉連線"
+ },
"themes": {
"dropdown_label": "主題",
"error_no_theme": "無主題可使用。",
From f236b76d5c855527a7a71e45b630df89cbf0375f Mon Sep 17 00:00:00 2001
From: HomeAssistant Azure
Date: Sun, 5 Jul 2020 00:32:32 +0000
Subject: [PATCH 06/58] [ci skip] Translation update
---
translations/frontend/he.json | 2 +-
translations/frontend/it.json | 5 +++++
translations/frontend/th.json | 24 +++++++++++++++++++-----
translations/frontend/zh-Hans.json | 4 ++++
4 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/translations/frontend/he.json b/translations/frontend/he.json
index 062d5d5618..c4bb425e09 100644
--- a/translations/frontend/he.json
+++ b/translations/frontend/he.json
@@ -577,7 +577,7 @@
},
"dialogs": {
"config_entry_system_options": {
- "enable_new_entities_description": "אם הם מושבתים, ישויות שהתגלו לאחרונה עבור {integration} לא יתווספו אוטומטית ל Home Assistant.",
+ "enable_new_entities_description": "אם הן מושבתות, ישויות שהתגלו לאחרונה עבור {integration} לא יתווספו אוטומטית ל Home Assistant.",
"enable_new_entities_label": "הפוך ישויות חדשות שנוספו לזמינות.",
"title": "אפשרויות מערכת",
"update": "עדכון"
diff --git a/translations/frontend/it.json b/translations/frontend/it.json
index 681720b018..9a915b5d6a 100644
--- a/translations/frontend/it.json
+++ b/translations/frontend/it.json
@@ -1431,6 +1431,7 @@
"delete_confirm": "Sei sicuro di voler eliminare questa integrazione?",
"device_unavailable": "dispositivo non disponibile",
"devices": "{count} {count, plural, \none {dispositivo}\nother {dispositivi}\n}",
+ "documentation": "Documentazione",
"entities": "{count} {count, plural, \none {entità}\nother {entità }\n}",
"entity_unavailable": "entità non disponibile",
"firmware": "Firmware: {version}",
@@ -2677,6 +2678,10 @@
"not_used": "Non è mai stato usato",
"token_title": "Token di aggiornamento per {clientId}"
},
+ "suspend": {
+ "description": "Dovremmo chiudere la connessione al server dopo essere stati nascosti per 5 minuti?",
+ "header": "Chiudi automaticamente la connessione"
+ },
"themes": {
"dropdown_label": "Tema",
"error_no_theme": "Nessun tema disponibile.",
diff --git a/translations/frontend/th.json b/translations/frontend/th.json
index cb7f26dd0a..06203fdf6e 100644
--- a/translations/frontend/th.json
+++ b/translations/frontend/th.json
@@ -448,7 +448,7 @@
"components": {
"entity": {
"entity-picker": {
- "entity": "เลือกเอนทิตี"
+ "entity": "เอนทิตี"
}
},
"history_charts": {
@@ -743,7 +743,7 @@
},
"cloud": {
"caption": "Home Assistant Cloud",
- "description_features": "ควบคุมการทำงานเมื่อออกจากบ้านร่วมกับ Alexa และ Google Assistant",
+ "description_features": "ควบคุมการทำงานจากนอกบ้าน ร่วมกับ Alexa และ Google Assistant",
"description_login": "ลงชื่อเข้าใช้เป็น {email}",
"description_not_login": "ยังไม่ได้เข้าสู่ระบบ",
"forgot_password": {
@@ -793,7 +793,13 @@
}
},
"devices": {
- "caption": "อุปกรณ์"
+ "caption": "อุปกรณ์",
+ "scene": {
+ "create": "สร้างฉากด้วยอุปกรณ์",
+ "no_scenes": "ไม่มีฉาก",
+ "scenes": "ฉาก"
+ },
+ "scenes": "ฉาก"
},
"entities": {
"caption": "เอนทิตีรีจิสทรี",
@@ -835,7 +841,7 @@
"new": "สร้างการทำงานร่วมกันอันใหม่",
"none": "ยังไม่มีการกำหนดค่าใดๆ เลย"
},
- "introduction": "ดูสิ! สามารถกำหนดค่าส่วนประกอบต่างๆ ของคุณได้ด้วย รวมถึงส่วนของระบบของ Home Assistant เลยเชียวนะ! ถึงแม้ตอนนี้ส่วนการแสดงผลยังทำไม่ได้ก็ตาม แต่เรากำลังพัฒนามันอยู่ คงจะใช้ได้เร็วๆ นี้ละ",
+ "introduction": "ที่นี่คือที่สำหรับกำหนดค่าองค์ประกอบต่างๆ รวมถึงระบบของ Home Assistant ไม่ใช่ทุกอย่างที่จะสามารถตั้งค่าได้ผ่าน UI ในขณะนี้ แต่เรากำลังพัฒนาเพิ่มเติมอยู่นะ",
"mqtt": {
"title": "MQTT"
},
@@ -849,6 +855,14 @@
"name": "ชื่อ"
}
},
+ "scene": {
+ "editor": {
+ "entities": {
+ "add": "เพิ่มเอนทิตี",
+ "delete": "ลบเอนทิตี"
+ }
+ }
+ },
"script": {
"caption": "สคริปต์",
"description": "สร้างและแก้ไขสคริปต์",
@@ -1023,7 +1037,7 @@
},
"header": "แก้ไข UI",
"menu": {
- "raw_editor": "ตัวแก้ไข config แบบดิบๆ"
+ "raw_editor": "ตัวแก้ไขไฟล์ตั้งค่าแบบหยาบ"
},
"migrate": {
"header": "การกำหนดค่าไม่ถูกต้อง",
diff --git a/translations/frontend/zh-Hans.json b/translations/frontend/zh-Hans.json
index 8dac5f5969..eeb8678938 100644
--- a/translations/frontend/zh-Hans.json
+++ b/translations/frontend/zh-Hans.json
@@ -2678,6 +2678,10 @@
"not_used": "从未使用过",
"token_title": "{clientId} 的刷新令牌"
},
+ "suspend": {
+ "description": "是否要在转至后台 5 分钟后,关闭与服务器的连接?",
+ "header": "自动关闭连接"
+ },
"themes": {
"dropdown_label": "主题",
"error_no_theme": "没有可用的主题。",
From da10da79b3e07d27dda80d23d0d14684ad1d52f9 Mon Sep 17 00:00:00 2001
From: Yosi Levy
Date: Sun, 5 Jul 2020 06:23:35 +0300
Subject: [PATCH 07/58] RTL fixes - cloud section, ha-formfield, some missing +
(mwc-fab)
---
src/components/ha-dialog.ts | 6 ++
src/components/ha-formfield.ts | 4 +-
.../dialog-config-entry-system-options.ts | 2 +
.../config/cloud/account/cloud-account.js | 14 +++-
.../config/cloud/account/cloud-alexa-pref.ts | 4 +
.../config/cloud/account/cloud-google-pref.ts | 4 +
.../config/cloud/account/cloud-remote-pref.ts | 4 +
src/panels/config/cloud/alexa/cloud-alexa.ts | 2 +
.../forgot-password/cloud-forgot-password.js | 1 -
.../cloud-google-assistant.ts | 56 +++++++-------
src/panels/config/cloud/login/cloud-login.js | 1 -
.../config/cloud/register/cloud-register.js | 4 -
.../mqtt/dialog-mqtt-device-debug-info.ts | 50 ++++++------
.../dialog-lovelace-dashboard-detail.ts | 50 ++++++------
.../ha-config-lovelace-dashboards.ts | 6 ++
src/panels/config/users/dialog-add-user.ts | 2 +
src/panels/config/users/dialog-user-detail.ts | 2 +
src/panels/config/zone/dialog-zone-detail.ts | 2 +
src/panels/config/zone/ha-config-zone.ts | 6 ++
.../config-elements/hui-button-card-editor.ts | 51 +++++++------
.../hui-entities-card-editor.ts | 2 +
.../config-elements/hui-gauge-card-editor.ts | 2 +
.../config-elements/hui-glance-card-editor.ts | 76 +++++++++++--------
.../config-elements/hui-map-card-editor.ts | 2 +
.../hui-picture-entity-card-editor.ts | 51 +++++++------
.../hui-weather-forecast-card-editor.ts | 2 +
.../lovelace/editor/hui-dialog-save-config.ts | 2 +
.../editor/view-editor/hui-view-editor.ts | 4 +-
28 files changed, 252 insertions(+), 160 deletions(-)
diff --git a/src/components/ha-dialog.ts b/src/components/ha-dialog.ts
index 6a6d35a031..d341cf2b8c 100644
--- a/src/components/ha-dialog.ts
+++ b/src/components/ha-dialog.ts
@@ -5,6 +5,7 @@ import "./ha-icon-button";
import { css, CSSResult, customElement, html } from "lit-element";
import type { Constructor, HomeAssistant } from "../types";
import { mdiClose } from "@mdi/js";
+import { computeRTL } from "../common/util/compute_rtl";
const MwcDialog = customElements.get("mwc-dialog") as Constructor
`}
+ .dir="${computeRTLDirection(this.hass)}"
>
@@ -163,6 +167,10 @@ class CloudAccount extends EventsMixin(LocalizeMixin(PolymerElement)) {
type: Object,
value: null,
},
+ _rtlDirection: {
+ type: Boolean,
+ computed: "_computeRTLDirection(hass)",
+ },
};
}
@@ -215,6 +223,10 @@ class CloudAccount extends EventsMixin(LocalizeMixin(PolymerElement)) {
return description;
}
+
+ _computeRTLDirection(hass) {
+ return computeRTLDirection(hass);
+ }
}
customElements.define("cloud-account", CloudAccount);
diff --git a/src/panels/config/cloud/account/cloud-alexa-pref.ts b/src/panels/config/cloud/account/cloud-alexa-pref.ts
index bedd66fe3e..8fae8a1895 100644
--- a/src/panels/config/cloud/account/cloud-alexa-pref.ts
+++ b/src/panels/config/cloud/account/cloud-alexa-pref.ts
@@ -167,6 +167,10 @@ export class CloudAlexaPref extends LitElement {
right: 24px;
top: 32px;
}
+ :host([dir="rtl"]) .switch {
+ right: auto;
+ left: 24px;
+ }
.card-actions {
display: flex;
}
diff --git a/src/panels/config/cloud/account/cloud-google-pref.ts b/src/panels/config/cloud/account/cloud-google-pref.ts
index f701a27e8c..ed9db0a768 100644
--- a/src/panels/config/cloud/account/cloud-google-pref.ts
+++ b/src/panels/config/cloud/account/cloud-google-pref.ts
@@ -205,6 +205,10 @@ export class CloudGooglePref extends LitElement {
right: 24px;
top: 32px;
}
+ :host([dir="rtl"]) .switch {
+ right: auto;
+ left: 24px;
+ }
ha-call-api-button {
color: var(--primary-color);
font-weight: 500;
diff --git a/src/panels/config/cloud/account/cloud-remote-pref.ts b/src/panels/config/cloud/account/cloud-remote-pref.ts
index 7455d1d9bc..c2c72c1ed7 100644
--- a/src/panels/config/cloud/account/cloud-remote-pref.ts
+++ b/src/panels/config/cloud/account/cloud-remote-pref.ts
@@ -150,6 +150,10 @@ export class CloudRemotePref extends LitElement {
right: 24px;
top: 32px;
}
+ :host([dir="rtl"]) .switch {
+ right: auto;
+ left: 24px;
+ }
.card-actions {
display: flex;
}
diff --git a/src/panels/config/cloud/alexa/cloud-alexa.ts b/src/panels/config/cloud/alexa/cloud-alexa.ts
index e0218135b6..69332699a7 100644
--- a/src/panels/config/cloud/alexa/cloud-alexa.ts
+++ b/src/panels/config/cloud/alexa/cloud-alexa.ts
@@ -34,6 +34,7 @@ import "../../../../layouts/hass-loading-screen";
import "../../../../layouts/hass-subpage";
import type { HomeAssistant } from "../../../../types";
import "../../../../components/ha-formfield";
+import { computeRTLDirection } from "../../../../common/util/compute_rtl";
const DEFAULT_CONFIG_EXPOSE = true;
const IGNORE_INTERFACES = ["Alexa.EndpointHealth"];
@@ -132,6 +133,7 @@ class CloudAlexa extends LitElement {
.label=${this.hass!.localize(
"ui.panel.config.cloud.alexa.expose"
)}
+ .dir="${computeRTLDirection(this.hass!)}"
>
.content {
padding-bottom: 24px;
- direction: ltr;
}
ha-card {
diff --git a/src/panels/config/cloud/google-assistant/cloud-google-assistant.ts b/src/panels/config/cloud/google-assistant/cloud-google-assistant.ts
index a6738488cc..e96500a6a7 100644
--- a/src/panels/config/cloud/google-assistant/cloud-google-assistant.ts
+++ b/src/panels/config/cloud/google-assistant/cloud-google-assistant.ts
@@ -39,6 +39,7 @@ import "../../../../layouts/hass-subpage";
import type { HomeAssistant } from "../../../../types";
import { showToast } from "../../../../util/toast";
import "../../../../components/ha-formfield";
+import { computeRTLDirection } from "../../../../common/util/compute_rtl";
const DEFAULT_CONFIG_EXPOSE = true;
@@ -128,32 +129,38 @@ class CloudGoogleAssistant extends LitElement {
.map((trait) => trait.substr(trait.lastIndexOf(".") + 1))
.join(", ")}
-
-
+
-
-
+
+
+
+
${entity.might_2fa
? html`
-
-
-
+
+
+
+
+
`
: ""}
@@ -377,9 +384,6 @@ class CloudGoogleAssistant extends LitElement {
state-info {
cursor: pointer;
}
- ha-formfield {
- display: block;
- }
ha-switch {
padding: 8px 0;
}
diff --git a/src/panels/config/cloud/login/cloud-login.js b/src/panels/config/cloud/login/cloud-login.js
index c251be6ffe..c5ac31c43d 100644
--- a/src/panels/config/cloud/login/cloud-login.js
+++ b/src/panels/config/cloud/login/cloud-login.js
@@ -30,7 +30,6 @@ class CloudLogin extends LocalizeMixin(
diff --git a/src/dialogs/ha-more-info-dialog.js b/src/dialogs/ha-more-info-dialog.js
deleted file mode 100644
index 1f80d19aec..0000000000
--- a/src/dialogs/ha-more-info-dialog.js
+++ /dev/null
@@ -1,155 +0,0 @@
-import "@polymer/paper-dialog-behavior/paper-dialog-shared-styles";
-import "@polymer/paper-dialog-scrollable/paper-dialog-scrollable";
-import { html } from "@polymer/polymer/lib/utils/html-tag";
-/* eslint-plugin-disable lit */
-import { PolymerElement } from "@polymer/polymer/polymer-element";
-import { computeStateDomain } from "../common/entity/compute_state_domain";
-import DialogMixin from "../mixins/dialog-mixin";
-import "../styles/polymer-ha-style-dialog";
-import "./more-info/more-info-controls";
-
-/*
- * @appliesMixin DialogMixin
- */
-class HaMoreInfoDialog extends DialogMixin(PolymerElement) {
- static get template() {
- return html`
-
-
-
- `;
- }
-
- static get properties() {
- return {
- hass: Object,
- stateObj: {
- type: Object,
- computed: "_computeStateObj(hass)",
- observer: "_stateObjChanged",
- },
-
- large: {
- type: Boolean,
- reflectToAttribute: true,
- observer: "_largeChanged",
- },
-
- dataDomain: {
- computed: "_computeDomain(stateObj)",
- reflectToAttribute: true,
- },
- };
- }
-
- static get observers() {
- return ["_dialogOpenChanged(opened)"];
- }
-
- _dialogElement() {
- return this;
- }
-
- _computeDomain(stateObj) {
- return stateObj ? computeStateDomain(stateObj) : "";
- }
-
- _computeStateObj(hass) {
- return hass.states[hass.moreInfoEntityId] || null;
- }
-
- async _stateObjChanged(newVal) {
- if (!newVal) {
- this.setProperties({
- opened: false,
- large: false,
- });
- return;
- }
-
- requestAnimationFrame(() =>
- requestAnimationFrame(() => {
- // allow dialog to render content before showing it so it will be
- // positioned correctly.
- this.opened = true;
- })
- );
- }
-
- _dialogOpenChanged(newVal) {
- if (!newVal && this.stateObj) {
- this.fire("hass-more-info", { entityId: null });
- }
- }
-
- _equals(a, b) {
- return a === b;
- }
-
- _largeChanged() {
- this.notifyResize();
- }
-}
-customElements.define("ha-more-info-dialog", HaMoreInfoDialog);
diff --git a/src/dialogs/more-info/controls/more-info-light.js b/src/dialogs/more-info/controls/more-info-light.js
index 83a0abf115..f961c9c6a8 100644
--- a/src/dialogs/more-info/controls/more-info-light.js
+++ b/src/dialogs/more-info/controls/more-info-light.js
@@ -28,6 +28,12 @@ class MoreInfoLight extends LocalizeMixin(EventsMixin(PolymerElement)) {
return html`
-
-
-
-
- [[_computeStateName(stateObj)]]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [[localize('ui.dialogs.more_info_control.restored.not_provided')]]
- [[localize('ui.dialogs.more_info_control.restored.remove_intro')]]
- [[localize('ui.dialogs.more_info_control.restored.remove_action')]]
-
-
- `;
- }
-
- static get properties() {
- return {
- hass: Object,
-
- stateObj: {
- type: Object,
- observer: "_stateObjChanged",
- },
-
- dialogElement: Object,
- registryEntry: Object,
-
- domain: {
- type: String,
- reflectToAttribute: true,
- computed: "_computeDomain(stateObj)",
- },
-
- _stateHistory: Object,
- _stateHistoryLoading: Boolean,
-
- large: {
- type: Boolean,
- value: false,
- notify: true,
- },
-
- _cacheConfig: {
- type: Object,
- value: {
- refresh: 60,
- cacheKey: null,
- hoursToShow: 24,
- },
- },
- rtl: {
- type: Boolean,
- reflectToAttribute: true,
- computed: "_computeRTL(hass)",
- },
- };
- }
-
- enlarge() {
- this.large = !this.large;
- }
-
- _computeShowStateInfo(stateObj) {
- return !stateObj || !DOMAINS_NO_INFO.includes(computeStateDomain(stateObj));
- }
-
- _computeShowRestored(stateObj) {
- return stateObj && stateObj.attributes.restored;
- }
-
- _computeShowHistoryComponent(hass, stateObj) {
- return (
- hass &&
- stateObj &&
- isComponentLoaded(hass, "history") &&
- !DOMAINS_MORE_INFO_NO_HISTORY.includes(computeStateDomain(stateObj))
- );
- }
-
- _computeDomain(stateObj) {
- return stateObj ? computeStateDomain(stateObj) : "";
- }
-
- _computeStateName(stateObj) {
- return stateObj ? computeStateName(stateObj) : "";
- }
-
- _computeEdit(hass, stateObj) {
- const domain = this._computeDomain(stateObj);
- return (
- stateObj &&
- hass.user.is_admin &&
- ((EDITABLE_DOMAINS_WITH_ID.includes(domain) && stateObj.attributes.id) ||
- EDITABLE_DOMAINS.includes(domain))
- );
- }
-
- _stateObjChanged(newVal) {
- if (!newVal) {
- return;
- }
-
- if (this._cacheConfig.cacheKey !== `more_info.${newVal.entity_id}`) {
- this._cacheConfig = {
- ...this._cacheConfig,
- cacheKey: `more_info.${newVal.entity_id}`,
- };
- }
- }
-
- _removeEntity() {
- showConfirmationDialog(this, {
- title: this.localize(
- "ui.dialogs.more_info_control.restored.confirm_remove_title"
- ),
- text: this.localize(
- "ui.dialogs.more_info_control.restored.confirm_remove_text"
- ),
- confirmText: this.localize("ui.common.yes"),
- dismissText: this.localize("ui.common.no"),
- confirm: () =>
- removeEntityRegistryEntry(this.hass, this.stateObj.entity_id),
- });
- }
-
- _gotoSettings() {
- showEntityEditorDialog(this, {
- entity_id: this.stateObj.entity_id,
- });
- this.fire("hass-more-info", { entityId: null });
- }
-
- _gotoEdit() {
- const domain = this._computeDomain(this.stateObj);
- navigate(
- this,
- `/config/${domain}/edit/${
- EDITABLE_DOMAINS_WITH_ID.includes(domain)
- ? this.stateObj.attributes.id
- : this.stateObj.entity_id
- }`
- );
- this.fire("hass-more-info", { entityId: null });
- }
-
- _computeRTL(hass) {
- return computeRTL(hass);
- }
-}
-customElements.define("more-info-controls", MoreInfoControls);
diff --git a/src/panels/lovelace/cards/hui-history-graph-card.ts b/src/panels/lovelace/cards/hui-history-graph-card.ts
index 1e347183c6..f0c992e30c 100644
--- a/src/panels/lovelace/cards/hui-history-graph-card.ts
+++ b/src/panels/lovelace/cards/hui-history-graph-card.ts
@@ -147,19 +147,14 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
`;
}
- private _getStateHistory(): void {
- getRecentWithCache(
+ private async _getStateHistory(): Promise {
+ this._stateHistory = getRecentWithCache(
this.hass!,
this._cacheConfig!.cacheKey,
this._cacheConfig!,
this.hass!.localize,
this.hass!.language
- ).then((stateHistory) => {
- this._stateHistory = {
- ...this._stateHistory,
- ...stateHistory,
- };
- });
+ );
}
private _clearInterval(): void {
diff --git a/src/resources/styles.ts b/src/resources/styles.ts
index ea6ba3cfbc..0b3c1b2678 100644
--- a/src/resources/styles.ts
+++ b/src/resources/styles.ts
@@ -241,7 +241,9 @@ export const haStyleDialog = css`
@media all and (max-width: 450px), all and (max-height: 500px) {
ha-dialog {
--mdc-dialog-min-width: 100vw;
- --mdc-dialog-max-height: 100vh;
+ --mdc-dialog-max-width: 100vw;
+ --mdc-dialog-min-height: 100%;
+ --mdc-dialog-max-height: 100%;
--mdc-shape-medium: 0px;
--vertial-align-dialog: flex-end;
}
diff --git a/src/state/more-info-mixin.ts b/src/state/more-info-mixin.ts
index b2d3d852af..3dd6b3ed02 100644
--- a/src/state/more-info-mixin.ts
+++ b/src/state/more-info-mixin.ts
@@ -20,7 +20,7 @@ export default >(superClass: T) =>
// Load it once we are having the initial rendering done.
import(
- /* webpackChunkName: "more-info-dialog" */ "../dialogs/ha-more-info-dialog"
+ /* webpackChunkName: "more-info-dialog" */ "../dialogs/more-info/ha-more-info-dialog"
);
}
From d3f29362b9f554eba58dcd228c393cb20a86a4c4 Mon Sep 17 00:00:00 2001
From: Bram Kragten
Date: Thu, 9 Jul 2020 01:29:46 +0200
Subject: [PATCH 22/58] Fix optional with default value ha-form-integer (#6341)
---
src/components/ha-form/ha-form-integer.ts | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/components/ha-form/ha-form-integer.ts b/src/components/ha-form/ha-form-integer.ts
index 0e5674edfb..e00aa40a0e 100644
--- a/src/components/ha-form/ha-form-integer.ts
+++ b/src/components/ha-form/ha-form-integer.ts
@@ -58,7 +58,9 @@ export class HaFormInteger extends LitElement implements HaFormElement {
.value=${this._value}
.min=${this.schema.valueMin}
.max=${this.schema.valueMax}
- .disabled=${this.data === undefined}
+ .disabled=${this.data === undefined &&
+ this.schema.optional &&
+ this.schema.default === undefined}
@value-changed=${this._valueChanged}
>
From 58ffc2c6ca92f65e61976dabb1b69b85d673d7df Mon Sep 17 00:00:00 2001
From: HomeAssistant Azure
Date: Thu, 9 Jul 2020 00:32:29 +0000
Subject: [PATCH 23/58] [ci skip] Translation update
---
translations/frontend/pt.json | 46 +++++++++++++++++++++++++----------
1 file changed, 33 insertions(+), 13 deletions(-)
diff --git a/translations/frontend/pt.json b/translations/frontend/pt.json
index 42b6d09ba4..d05b868f9f 100644
--- a/translations/frontend/pt.json
+++ b/translations/frontend/pt.json
@@ -628,6 +628,7 @@
"max": "Valor máximo",
"min": "Valor mínimo",
"mode": "Modo de exibição",
+ "slider": "Controlador deslizante",
"step": "Tamanho do passo",
"unit_of_measurement": "Unidade de medida"
},
@@ -768,7 +769,7 @@
"connection_lost": "Ligação perdida. A ligar de novo...",
"service_call_failed": "Falha ao chamar o serviço {service}.",
"started": "Home Assistant já iniciou",
- "starting": "Home Assistant está a inicializar, nem tudo estará disponivel até o processo concluir.",
+ "starting": "Home Assistant está a inicializar, nem tudo estará disponível até o processo concluir.",
"triggered": "Despoletado {name}"
},
"panel": {
@@ -1147,12 +1148,12 @@
"webhook_for": "Webhook para {name}"
},
"forgot_password": {
- "check_your_email": "Verifique o seu e-mail para obter instruções sobre como redefinir a sua senha.",
+ "check_your_email": "Verifique o seu e-mail para obter instruções sobre como redefinir a sua palavra-passe.",
"email": "",
"email_error_msg": "E-mail inválido",
"instructions": "Introduza o seu endereço de e-mail e nós lhe enviaremos um link para redefinir sua password.",
"send_reset_email": "Enviar e-mail de redefinição",
- "subtitle": "Esquecer a senha",
+ "subtitle": "Esqueceu-se da palavra-passe?",
"title": "Esqueci-me da palavra-passe"
},
"google": {
@@ -1170,7 +1171,7 @@
"dismiss": "Fechar",
"email": "",
"email_error_msg": "E-mail inválido",
- "forgot_password": "Esqueceu-se da senha?",
+ "forgot_password": "Esqueceu-se da palavra-passe?",
"introduction": "O Home Assistant Cloud fornece uma conexão remota segura à sua instância enquanto estiver fora de casa. Também permite que você se conecte com serviços que apenas utilizam a nuvem: Amazon Alexa e Google Assistant.",
"introduction2": "Este serviço é gerido pelo nosso parceiro ",
"introduction2a": ", uma empresa criada pelos fundadores do Home Assistant e do Hass.io.",
@@ -1247,6 +1248,7 @@
"attributes_set": "Os seguintes atributos de uma entidade são definidos por meio de programação.",
"caption": "Personalização",
"description": "Personalizar as suas entidades",
+ "different_include": "Possivelmente através de um domínio, um glob ou um include diferente.",
"pick_attribute": "Escolha um atributo para substituir.",
"picker": {
"entity": "Entidade",
@@ -1304,6 +1306,7 @@
"no_devices": "Sem dispositivos",
"scene": {
"create": "Criar cena com o dispositivo",
+ "no_scenes": "Sem cenários",
"scenes": "Cenas"
},
"scenes": "Cenas",
@@ -1389,6 +1392,7 @@
"input_boolean": "Interruptor",
"input_datetime": "Data e/ou hora",
"input_number": "Número",
+ "input_select": "Lista de selecção",
"input_text": "Texto"
}
},
@@ -1414,8 +1418,8 @@
},
"integration_panel_move": {
"link_integration_page": "Página de Integrações",
- "missing_zha": "Está faltando o painel de configuração do Z-Wave? Foi movido para a entrada do Z-Wave na {integrations_page} .",
- "missing_zwave": "Está faltando o painel de configuração do Z-Wave? Foi movido para a entrada do Z-Wave na {integrations_page} ."
+ "missing_zha": "Falta o painel de configuração do Z-Wave? Foi movido para a entrada do Z-Wave na {integrations_page} .",
+ "missing_zwave": "Falta o painel de configuração do Z-Wave? Foi movido para a entrada do Z-Wave na {integrations_page} ."
},
"integrations": {
"add_integration": "Adicionar integração",
@@ -1754,7 +1758,7 @@
"owner": "Proprietário",
"system_generated": "Gerado pelo sistema",
"system_generated_users_not_editable": "Não foi possível atualizar os utilizadores gerados pelo sistema.",
- "system_generated_users_not_removable": "Não é possível remover usuários gerados pelo sistema.",
+ "system_generated_users_not_removable": "Não é possível remover utilizadores gerados pelo sistema.",
"unnamed_user": "Utilizador sem nome",
"update_user": "Atualizar"
},
@@ -1765,11 +1769,11 @@
"system": "Sistema"
}
},
- "users_privileges_note": "O grupo de usuários é um trabalho em andamento. O usuário não poderá administrar a instância por meio da interface do usuário. Ainda estamos auditando todos os pontos de extremidade da API de gerenciamento para garantir que eles limitem corretamente o acesso aos administradores."
+ "users_privileges_note": "O grupo de utilizadores é um trabalho em progresso. O utilizador não poderá administrar a instância por meio da interface de utilizador. Ainda estamos a auditar todos os endpoints da API de gestão para garantir que eles limitam corretamente o acesso aos administradores."
},
"zha": {
"add_device_page": {
- "discovered_text": "Os dispositivos aparecerão aqui uma vez descobertos.",
+ "discovered_text": "Os dispositivos aparecem aqui uma vez descobertos.",
"discovery_text": "Os dispositivos descobertos aparecerão aqui. Siga as instruções para o(s) seu(s) dispositivo(s) e coloque o(s) dispositivo(s) em modo de emparelhamento.",
"header": "Zigbee Home Automation - Adicionar dispositivos",
"no_devices_found": "Nenhum dispositivo encontrado, verifique se eles estão no modo de emparelhamento e mantenha-os acordados enquanto a descoberta está em execução.",
@@ -1936,22 +1940,32 @@
"true": "Verdadeiro"
},
"node_management": {
+ "add_to_group": "Adicionar ao Grupo",
"entities": "Entidades deste nó",
"entity_info": "Definições da entidade",
"exclude_entity": "Excluir esta entidade do Home Assistant",
"group": "Grupo",
+ "header": "Gestão de nó Z-Wave",
+ "introduction": "Execute comandos do Z-Wave que afetam um único nó. Escolha um nó para ver uma lista dos comandos disponíveis.",
+ "max_associations": "Máximo de Associações:",
"node_group_associations": "Associações de grupos de nós",
"node_protection": "Proteção de nó",
"node_to_control": "Configurar opçoes do nó",
"nodes": "Nós",
"nodes_hint": "Selecione o nó para visualizar as opções por nó",
- "pooling_intensity": "Intensidade da votação",
+ "nodes_in_group": "Outros nós neste grupo:",
+ "pooling_intensity": "Intensidade de interrogação",
"protection": "Proteção",
+ "remove_broadcast": "Remover Difusão",
+ "remove_from_group": "Remover do Grupo",
"set_protection": "Definir proteção"
},
"ozw_log": {
"header": "Log OZW",
- "introduction": "Veja o log. 0 é o mínimo (carrega o log inteiro) e 1000 é o máximo. Ao carregar irá ser mostrado um log estático e a cauda será atualizada automaticamente com o último número especificado de linhas do log."
+ "introduction": "Veja o log. 0 é o mínimo (carrega o log inteiro) e 1000 é o máximo. Ao carregar irá ser mostrado um log estático e a cauda será atualizada automaticamente com o último número especificado de linhas do log.",
+ "last_log_lines": "Número de últimas linhas de registos",
+ "load": "Carga",
+ "tail": "Cauda"
},
"services": {
"add_node": "Adicionar nó",
@@ -1962,7 +1976,10 @@
"node_info": "Informação do Nó",
"print_node": "Nó de impressão",
"refresh_entity": "Actualizar entidade",
+ "refresh_node": "Atualizar nó",
+ "remove_failed_node": "Remover nó com falha",
"remove_node": "Remover nó",
+ "replace_failed_node": "Substituir nó com falha",
"save_config": "Guardar configuração",
"soft_reset": "Reinicio suave",
"start_network": "Iniciar a rede",
@@ -2158,12 +2175,14 @@
}
},
"generic": {
+ "aspect_ratio": "Rácio de Proporção",
"attribute": "Atributo",
"camera_image": "Entidade de Câmera",
"camera_view": "Vista da Câmera",
"double_tap_action": "Ação de toque duplo",
"entities": "Entidades",
"entity": "Entidade",
+ "hold_action": "Ação de retenção",
"hours_to_show": "Horas a mostrar",
"icon": "Ícone",
"icon_height": "Altura do ícone",
@@ -2238,7 +2257,8 @@
"name": "Entidade de imagem"
},
"picture-glance": {
- "description": "O cartão Vista de imagem mostra uma imagem e os estados das entidades correspondentes como um ícone. As entidades do lado direito permitem alternar ações, outras mostram a opção mais informações."
+ "description": "O cartão Vista de imagem mostra uma imagem e os estados das entidades correspondentes como um ícone. As entidades do lado direito permitem alternar ações, outras mostram a opção mais informações.",
+ "name": "Vista sobre imagem"
},
"picture": {
"description": "O cartão de imagem permite definir uma imagem a ser usada para navegação em vários pontos na sua interface ou para chamar um serviço.",
@@ -2395,7 +2415,7 @@
"entity_non_numeric": "A entidade é não numérica: {entity}",
"entity_not_found": "Entidade não disponível: {entity}",
"entity_unavailable": "{entity} está indisponível no momento",
- "starting": "Home Assistant está a inicializar, nem tudo está já disponivel"
+ "starting": "Home Assistant está a inicializar, nem tudo está já disponível"
}
},
"mailbox": {
From e71dd7409eb18efa88e598f9504a2944f1d58152 Mon Sep 17 00:00:00 2001
From: Bram Kragten
Date: Thu, 9 Jul 2020 13:48:28 +0200
Subject: [PATCH 24/58] Scenes: Fix entity picked from device doesn't add
device (#6343)
Co-authored-by: Paulus Schoutsen
---
src/panels/config/scene/ha-scene-editor.ts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/panels/config/scene/ha-scene-editor.ts b/src/panels/config/scene/ha-scene-editor.ts
index 961d51672d..08f00562ef 100644
--- a/src/panels/config/scene/ha-scene-editor.ts
+++ b/src/panels/config/scene/ha-scene-editor.ts
@@ -532,6 +532,18 @@ export class HaSceneEditor extends SubscribeMixin(LitElement) {
}
this._entities = [...this._entities, entityId];
this._storeState(entityId);
+
+ const entityRegistry = this._entityRegistryEntries.find(
+ (entityReg) => entityReg.entity_id === entityId
+ );
+
+ if (
+ entityRegistry?.device_id &&
+ !this._devices.includes(entityRegistry.device_id)
+ ) {
+ this._devices = [...this._devices, entityRegistry.device_id];
+ }
+
this._dirty = true;
}
From 26e678a97d848b3cccb494bff7f2dedce14b6239 Mon Sep 17 00:00:00 2001
From: Yosi Levy <37745463+yosilevy@users.noreply.github.com>
Date: Thu, 9 Jul 2020 15:00:01 +0300
Subject: [PATCH 25/58] mwc-fab fix where missing (#6352)
---
src/panels/config/areas/ha-config-areas-dashboard.ts | 9 +++++----
src/panels/config/helpers/ha-config-helpers.ts | 11 +++++++++++
.../config/integrations/ha-config-integrations.ts | 2 +-
.../resources/ha-config-lovelace-resources.ts | 11 +++++++++++
src/panels/config/person/ha-config-person.ts | 11 +++++++++++
5 files changed, 39 insertions(+), 5 deletions(-)
diff --git a/src/panels/config/areas/ha-config-areas-dashboard.ts b/src/panels/config/areas/ha-config-areas-dashboard.ts
index 240c211fdb..2e0e56e9f2 100644
--- a/src/panels/config/areas/ha-config-areas-dashboard.ts
+++ b/src/panels/config/areas/ha-config-areas-dashboard.ts
@@ -38,6 +38,7 @@ import {
showAreaRegistryDetailDialog,
} from "./show-dialog-area-registry-detail";
import { mdiPlus } from "@mdi/js";
+import { computeRTL } from "../../../common/util/compute_rtl";
@customElement("ha-config-areas-dashboard")
export class HaConfigAreasDashboard extends LitElement {
@@ -126,6 +127,7 @@ export class HaConfigAreasDashboard extends LitElement {
@@ -253,6 +255,15 @@ class HaConfigPerson extends LitElement {
bottom: 24px;
right: 24px;
}
+ mwc-fab[rtl] {
+ right: auto;
+ left: 16px;
+ }
+ mwc-fab[is-wide][rtl] {
+ bottom: 24px;
+ left: 24px;
+ right: auto;
+ }
`;
}
}
From 8ce120b74d4b3f72c4cd4aba722381f3bdbc7198 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers
Date: Thu, 9 Jul 2020 20:19:59 +0200
Subject: [PATCH 26/58] Round values for relative time instead of flooring
(#6225)
---
src/common/datetime/relative_time.ts | 27 ++++++++++-----------------
1 file changed, 10 insertions(+), 17 deletions(-)
diff --git a/src/common/datetime/relative_time.ts b/src/common/datetime/relative_time.ts
index 8eaafb4ad3..cc414b1e12 100644
--- a/src/common/datetime/relative_time.ts
+++ b/src/common/datetime/relative_time.ts
@@ -20,31 +20,24 @@ export default function relativeTime(
let delta = (compareTime.getTime() - dateObj.getTime()) / 1000;
const tense = delta >= 0 ? "past" : "future";
delta = Math.abs(delta);
-
- let timeDesc;
+ let roundedDelta = Math.round(delta);
+ let unit = "week";
for (let i = 0; i < tests.length; i++) {
- if (delta < tests[i]) {
- delta = Math.floor(delta);
- timeDesc = localize(
- `ui.components.relative_time.duration.${langKey[i]}`,
- "count",
- delta
- );
+ if (roundedDelta < tests[i]) {
+ unit = langKey[i];
break;
}
delta /= tests[i];
+ roundedDelta = Math.round(delta);
}
- if (timeDesc === undefined) {
- delta = Math.floor(delta);
- timeDesc = localize(
- "ui.components.relative_time.duration.week",
- "count",
- delta
- );
- }
+ const timeDesc = localize(
+ `ui.components.relative_time.duration.${unit}`,
+ "count",
+ roundedDelta
+ );
return options.includeTense === false
? timeDesc
From efa2b2db27d76a523d9ef93189b118ff6e674372 Mon Sep 17 00:00:00 2001
From: HomeAssistant Azure
Date: Fri, 10 Jul 2020 00:32:45 +0000
Subject: [PATCH 27/58] [ci skip] Translation update
---
translations/frontend/nl.json | 5 +++++
translations/frontend/ru.json | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/translations/frontend/nl.json b/translations/frontend/nl.json
index a9a90d8f8a..7e09673c70 100644
--- a/translations/frontend/nl.json
+++ b/translations/frontend/nl.json
@@ -1941,9 +1941,14 @@
},
"node_management": {
"add_to_group": "Toevoegen aan groep",
+ "entities": "Entiteiten van dit knooppunt",
"entity_info": "Entiteitsinformatie",
"exclude_entity": "Sluit deze entiteit uit van Home Assistant",
"group": "Groep",
+ "header": "Z-Wave Knooppunt-beheer",
+ "introduction": "Voer Z-Wave commando's uit die een enkel knooppunt beïnvloeden. Kies een knooppunt om een lijst met beschikbare commando's te zien.",
+ "nodes": "Knooppunten",
+ "nodes_hint": "Selecteer knooppunt om de opties per knooppunt te bekijken",
"protection": "Bescherming",
"remove_from_group": "Verwijderen uit groep",
"set_protection": "Bescherming instellen"
diff --git a/translations/frontend/ru.json b/translations/frontend/ru.json
index bc1d523cd8..4ebd82b8d1 100644
--- a/translations/frontend/ru.json
+++ b/translations/frontend/ru.json
@@ -1836,7 +1836,7 @@
"adding_members": "Добавление участников",
"caption": "Группы",
"create": "Создать группу",
- "create_group": "Zigbee Home Automation - Создать группу",
+ "create_group": "Создание новой группы",
"create_group_details": "Укажите необходимые данные для создания новой группы Zigbee",
"creating_group": "Создание группы",
"description": "Создавайте и изменяйте группы Zigbee",
From c9ec4b4e24adf157a35acd038acf547c8dcf60d5 Mon Sep 17 00:00:00 2001
From: Bram Kragten
Date: Fri, 10 Jul 2020 10:16:48 +0200
Subject: [PATCH 28/58] Migrate entity settings dialog (#6349)
---
src/dialogs/more-info/ha-more-info-dialog.ts | 3 +-
.../config/entities/dialog-entity-editor.ts | 219 ++++++++----------
.../settings/entity-settings-helper-tab.ts | 57 ++---
.../entities/entity-registry-settings.ts | 140 ++++++-----
4 files changed, 190 insertions(+), 229 deletions(-)
diff --git a/src/dialogs/more-info/ha-more-info-dialog.ts b/src/dialogs/more-info/ha-more-info-dialog.ts
index a52430bbd0..e4dff4b279 100644
--- a/src/dialogs/more-info/ha-more-info-dialog.ts
+++ b/src/dialogs/more-info/ha-more-info-dialog.ts
@@ -1,8 +1,9 @@
import "@material/mwc-button";
+import "@material/mwc-icon-button";
import "@polymer/app-layout/app-toolbar/app-toolbar";
import "@polymer/paper-dialog-scrollable/paper-dialog-scrollable";
-import "../../components/ha-icon-button";
import "../../components/ha-dialog";
+import "../../components/ha-svg-icon";
import { isComponentLoaded } from "../../common/config/is_component_loaded";
import { DOMAINS_MORE_INFO_NO_HISTORY } from "../../common/const";
import { computeStateName } from "../../common/entity/compute_state_name";
diff --git a/src/panels/config/entities/dialog-entity-editor.ts b/src/panels/config/entities/dialog-entity-editor.ts
index 3aecc2b883..e765ddffb8 100644
--- a/src/panels/config/entities/dialog-entity-editor.ts
+++ b/src/panels/config/entities/dialog-entity-editor.ts
@@ -1,8 +1,7 @@
import "@polymer/app-layout/app-toolbar/app-toolbar";
-import "@polymer/paper-dialog-scrollable/paper-dialog-scrollable";
-import "../../../components/ha-icon-button";
import "@polymer/paper-tabs/paper-tab";
import "@polymer/paper-tabs/paper-tabs";
+import "@material/mwc-icon-button";
import { HassEntity } from "home-assistant-js-websocket";
import {
css,
@@ -11,27 +10,26 @@ import {
html,
LitElement,
property,
- query,
TemplateResult,
} from "lit-element";
import { cache } from "lit-html/directives/cache";
import { dynamicElement } from "../../../common/dom/dynamic-element-directive";
import { fireEvent } from "../../../common/dom/fire_event";
import { computeStateName } from "../../../common/entity/compute_state_name";
-import "../../../components/dialog/ha-paper-dialog";
-import type { HaPaperDialog } from "../../../components/dialog/ha-paper-dialog";
+import "../../../components/ha-dialog";
+import "../../../components/ha-svg-icon";
import "../../../components/ha-related-items";
import {
EntityRegistryEntry,
ExtEntityRegistryEntry,
getExtendedEntityRegistryEntry,
} from "../../../data/entity_registry";
-import type { PolymerChangedEvent } from "../../../polymer-types";
import { haStyleDialog } from "../../../resources/styles";
import type { HomeAssistant } from "../../../types";
import { PLATFORMS_WITH_SETTINGS_TAB } from "./const";
import "./entity-registry-settings";
import type { EntityRegistryDetailDialogParams } from "./show-dialog-entity-editor";
+import { mdiClose, mdiTune } from "@mdi/js";
interface Tabs {
[key: string]: Tab;
@@ -59,8 +57,6 @@ export class DialogEntityEditor extends LitElement {
@property() private _settingsElementTag?: string;
- @query("ha-paper-dialog") private _dialog!: HaPaperDialog;
-
private _curTabIndex = 0;
public async showDialog(
@@ -87,91 +83,97 @@ export class DialogEntityEditor extends LitElement {
const stateObj: HassEntity | undefined = this.hass.states[entityId];
return html`
-
-
-
-
- ${stateObj ? computeStateName(stateObj) : entry?.name || entityId}
-
- ${stateObj
- ? html`
-
- `
- : ""}
-
-
-
- ${this.hass.localize("ui.dialogs.entity_registry.settings")}
-
- ${Object.entries(this._extraTabs).map(
- ([key, tab]) => html`
-
- ${this.hass.localize(tab.translationKey) || key}
-
- `
- )}
-
- ${this.hass.localize("ui.dialogs.entity_registry.related")}
-
-
- ${cache(
- this._curTab === "tab-settings"
- ? entry
- ? this._settingsElementTag
- ? html`
- ${dynamicElement(this._settingsElementTag, {
- hass: this.hass,
- entry,
- entityId,
- dialogElement: this._dialog,
- })}
- `
- : ""
- : html`
-
- ${this.hass.localize(
- "ui.dialogs.entity_registry.no_unique_id"
+
+
+
+
+
+
+ ${stateObj ? computeStateName(stateObj) : entry?.name || entityId}
+
+ ${stateObj
+ ? html`
+
+ @click=${this._openMoreInfo}
+ >
+
+
`
- : this._curTab === "tab-related"
- ? html`
-
-
-
+ : ""}
+
+
+
+ ${this.hass.localize("ui.dialogs.entity_registry.settings")}
+
+ ${Object.entries(this._extraTabs).map(
+ ([key, tab]) => html`
+
+ ${this.hass.localize(tab.translationKey) || key}
+
`
- : html``
- )}
-
+ )}
+
+ ${this.hass.localize("ui.dialogs.entity_registry.related")}
+
+
+
+
+ ${cache(this._renderTab())}
+
+
`;
}
+ private _renderTab() {
+ switch (this._curTab) {
+ case "tab-settings":
+ if (this._entry) {
+ if (this._settingsElementTag) {
+ return html`
+ ${dynamicElement(this._settingsElementTag, {
+ hass: this.hass,
+ entry: this._entry,
+ entityId: this._params!.entity_id,
+ })}
+ `;
+ }
+ return html``;
+ }
+ return html`
+
+ ${this.hass.localize("ui.dialogs.entity_registry.no_unique_id")}
+
+ `;
+ case "tab-related":
+ return html`
+
+ `;
+ default:
+ return html``;
+ }
+ }
+
private async _getEntityReg() {
try {
this._entry = await getExtendedEntityRegistryEntry(
@@ -189,12 +191,6 @@ export class DialogEntityEditor extends LitElement {
return;
}
this._curTab = ev.detail.value.id;
- this._resizeDialog();
- }
-
- private async _resizeDialog(): Promise {
- await this.updateComplete;
- fireEvent(this._dialog as HTMLElement, "iron-resize");
}
private async _loadPlatformSettingTabs(): Promise {
@@ -219,12 +215,6 @@ export class DialogEntityEditor extends LitElement {
this.closeDialog();
}
- private _openedChanged(ev: PolymerChangedEvent): void {
- if (!(ev.detail as any).value) {
- this._params = undefined;
- }
- }
-
static get styles(): CSSResult[] {
return [
haStyleDialog,
@@ -249,16 +239,23 @@ export class DialogEntityEditor extends LitElement {
text-overflow: ellipsis;
}
+ ha-dialog {
+ --dialog-content-padding: 0;
+ }
+
@media all and (min-width: 451px) and (min-height: 501px) {
.main-title {
pointer-events: auto;
cursor: default;
}
+ .wrapper {
+ width: 400px;
+ }
}
- ha-paper-dialog {
- width: 450px;
- max-height: none !important;
+ .content {
+ display: block;
+ padding: 20px 24px;
}
/* overrule the ha-style-dialog max-height on small screens */
@@ -267,28 +264,6 @@ export class DialogEntityEditor extends LitElement {
background-color: var(--app-header-background-color);
color: var(--app-header-text-color, white);
}
- ha-paper-dialog {
- height: 100%;
- max-height: 100% !important;
- width: 100% !important;
- border-radius: 0px;
- position: fixed !important;
- margin: 0;
- }
- ha-paper-dialog::before {
- content: "";
- position: fixed;
- z-index: -1;
- top: 0px;
- left: 0px;
- right: 0px;
- bottom: 0px;
- background-color: inherit;
- }
- }
-
- paper-dialog-scrollable {
- padding-bottom: 16px;
}
mwc-button.warning {
diff --git a/src/panels/config/entities/editor-tabs/settings/entity-settings-helper-tab.ts b/src/panels/config/entities/editor-tabs/settings/entity-settings-helper-tab.ts
index e6aa99aa2f..dbf2a37a88 100644
--- a/src/panels/config/entities/editor-tabs/settings/entity-settings-helper-tab.ts
+++ b/src/panels/config/entities/editor-tabs/settings/entity-settings-helper-tab.ts
@@ -12,7 +12,6 @@ import {
import { isComponentLoaded } from "../../../../../common/config/is_component_loaded";
import { dynamicElement } from "../../../../../common/dom/dynamic-element-directive";
import { fireEvent } from "../../../../../common/dom/fire_event";
-import { HaPaperDialog } from "../../../../../components/dialog/ha-paper-dialog";
import {
ExtEntityRegistryEntry,
removeEntityRegistryEntry,
@@ -87,8 +86,6 @@ export class EntityRegistrySettingsHelper extends LitElement {
@property() public entry!: ExtEntityRegistryEntry;
- @property() public dialogElement!: HaPaperDialog;
-
@property() private _error?: string;
@property() private _item?: Helper | null;
@@ -120,32 +117,30 @@ export class EntityRegistrySettingsHelper extends LitElement {
}
const stateObj = this.hass.states[this.entry.entity_id];
return html`
-
- ${this._error ? html` ${this._error}
` : ""}
-
-
+ ${this._error ? html` ${this._error}
` : ""}
+
+ ${!this._componentLoaded
+ ? this.hass.localize(
+ "ui.dialogs.helper_settings.platform_not_loaded",
+ "platform",
+ this.entry.platform
+ )
+ : this._item === null
+ ? this.hass.localize("ui.dialogs.helper_settings.yaml_not_editable")
+ : html`
+
+ ${dynamicElement(`ha-${this.entry.platform}-form`, {
+ hass: this.hass,
+ item: this._item,
+ entry: this.entry,
+ })}
+
+ `}
+
+