From 200fff506ceadd4018eea19ffff2782e87149045 Mon Sep 17 00:00:00 2001 From: Yosi Levy <37745463+yosilevy@users.noreply.github.com> Date: Mon, 3 Oct 2022 11:22:01 +0300 Subject: [PATCH 01/15] Fix alignment of float label (#13958) --- src/components/ha-textfield.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/ha-textfield.ts b/src/components/ha-textfield.ts index 5377e71e7f..0849270fd5 100644 --- a/src/components/ha-textfield.ts +++ b/src/components/ha-textfield.ts @@ -86,7 +86,10 @@ export class HaTextField extends TextFieldBase { text-overflow: ellipsis; width: inherit; padding-right: 30px; + padding-inline-end: 30px; + padding-inline-start: initial; box-sizing: border-box; + direction: var(--direction); } input { @@ -118,7 +121,7 @@ export class HaTextField extends TextFieldBase { inset-inline-end: initial !important; transform-origin: var(--float-start); direction: var(--direction); - transform-origin: var(--float-start); + text-align: var(--float-start); } .mdc-text-field--with-leading-icon.mdc-text-field--filled From 952b433b2cdc01bd70b4e1f30b972f490583392a Mon Sep 17 00:00:00 2001 From: Kyle Niewiada Date: Mon, 3 Oct 2022 05:02:00 -0400 Subject: [PATCH 02/15] Support typing negative values for ha-form-float (#13940) --- src/components/ha-form/ha-form-float.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/ha-form/ha-form-float.ts b/src/components/ha-form/ha-form-float.ts index ce28ee7cae..5f0ea6d17a 100644 --- a/src/components/ha-form/ha-form-float.ts +++ b/src/components/ha-form/ha-form-float.ts @@ -26,6 +26,7 @@ export class HaFormFloat extends LitElement implements HaFormElement { protected render(): TemplateResult { return html` Date: Mon, 3 Oct 2022 11:43:06 +0200 Subject: [PATCH 03/15] Use formatDateNumeric in repair dialog (#13964) --- src/panels/config/repairs/dialog-repairs-issue.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/panels/config/repairs/dialog-repairs-issue.ts b/src/panels/config/repairs/dialog-repairs-issue.ts index f974641a96..a7750d6d23 100644 --- a/src/panels/config/repairs/dialog-repairs-issue.ts +++ b/src/panels/config/repairs/dialog-repairs-issue.ts @@ -1,6 +1,7 @@ import "@material/mwc-button/mwc-button"; import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit"; import { customElement, property, state } from "lit/decorators"; +import { formatDateNumeric } from "../../../common/datetime/format_date"; import { fireEvent } from "../../../common/dom/fire_event"; import { createCloseHeading } from "../../../components/ha-dialog"; import "../../../components/ha-markdown"; @@ -92,8 +93,9 @@ class DialogRepairsIssue extends LitElement { - ${this._issue.created - ? new Date(this._issue.created).toLocaleDateString( - this.hass.language + ? formatDateNumeric( + new Date(this._issue.created), + this.hass.locale ) : ""} From 93893d0237276de019665cbaef1968187ea2df0d Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 3 Oct 2022 11:43:17 +0200 Subject: [PATCH 04/15] =?UTF-8?q?Don't=20include=20all=20homekit=20discove?= =?UTF-8?q?ry=20items=20for=20integrations=20that=20suppo=E2=80=A6=20(#139?= =?UTF-8?q?60)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/panels/config/integrations/dialog-add-integration.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/panels/config/integrations/dialog-add-integration.ts b/src/panels/config/integrations/dialog-add-integration.ts index 34aea54d2b..c2b6837169 100644 --- a/src/panels/config/integrations/dialog-add-integration.ts +++ b/src/panels/config/integrations/dialog-add-integration.ts @@ -510,10 +510,6 @@ class AddIntegrationDialog extends LitElement { const integrations = this._integrations![integration.domain].integrations!; let domains = Object.keys(integrations); - if (integration.iot_standards?.includes("homekit")) { - // if homekit is supported, also fetch the discovered homekit devices - domains.push("homekit_controller"); - } if (integration.domain === "apple") { // we show discoverd homekit devices in their own brand section, dont show them at apple domains = domains.filter((domain) => domain !== "homekit_controller"); From b5c9aae1aa381d09670dd59abe4545656d57962f Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Mon, 3 Oct 2022 12:39:54 +0200 Subject: [PATCH 05/15] Update delete area dialog (#13967) --- src/panels/config/areas/ha-config-area-page.ts | 4 +++- src/translations/en.json | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/panels/config/areas/ha-config-area-page.ts b/src/panels/config/areas/ha-config-area-page.ts index c211dccd9b..00c0f99a4d 100644 --- a/src/panels/config/areas/ha-config-area-page.ts +++ b/src/panels/config/areas/ha-config-area-page.ts @@ -610,13 +610,15 @@ class HaConfigAreaPage extends SubscribeMixin(LitElement) { if ( !(await showConfirmationDialog(this, { title: this.hass.localize( - "ui.panel.config.areas.delete.confirmation_title" + "ui.panel.config.areas.delete.confirmation_title", + { name: entry!.name } ), text: this.hass.localize( "ui.panel.config.areas.delete.confirmation_text" ), dismissText: this.hass.localize("ui.common.cancel"), confirmText: this.hass.localize("ui.common.delete"), + destructive: true, })) ) { return false; diff --git a/src/translations/en.json b/src/translations/en.json index 84c1a70332..4bc1820a41 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1313,8 +1313,8 @@ "no_linked_entities": "There are no entities linked to this area." }, "delete": { - "confirmation_title": "Are you sure you want to delete this area?", - "confirmation_text": "This user will be permanently deleted." + "confirmation_title": "Delete {name}?", + "confirmation_text": "This area will be permanently deleted and all devices belonging to this area will become unassigned." } }, "backup": { From a70e2342a2b6f88a99e14bf61c3f900b1da2ce32 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 3 Oct 2022 13:37:00 +0200 Subject: [PATCH 06/15] Add main column to data table (#13966) --- hassio/src/backups/hassio-backups.ts | 1 + src/components/data-table/ha-data-table.ts | 3 ++- src/panels/config/automation/ha-automation-picker.ts | 1 + src/panels/config/backup/ha-config-backup.ts | 1 + src/panels/config/blueprint/ha-blueprint-overview.ts | 1 + src/panels/config/devices/ha-config-devices-dashboard.ts | 1 + src/panels/config/entities/ha-config-entities.ts | 1 + src/panels/config/helpers/ha-config-helpers.ts | 1 + .../lovelace/dashboards/ha-config-lovelace-dashboards.ts | 1 + src/panels/config/scene/ha-scene-dashboard.ts | 1 + src/panels/config/script/ha-script-picker.ts | 1 + src/panels/config/tags/ha-config-tags.ts | 1 + src/panels/config/users/ha-config-users.ts | 1 + 13 files changed, 14 insertions(+), 1 deletion(-) diff --git a/hassio/src/backups/hassio-backups.ts b/hassio/src/backups/hassio-backups.ts index f2b0466623..abd17be598 100644 --- a/hassio/src/backups/hassio-backups.ts +++ b/hassio/src/backups/hassio-backups.ts @@ -119,6 +119,7 @@ export class HassioBackups extends LitElement { (narrow: boolean): DataTableColumnContainer => ({ name: { title: this.supervisor.localize("backup.name"), + main: true, sortable: true, filterable: true, grows: true, diff --git a/src/components/data-table/ha-data-table.ts b/src/components/data-table/ha-data-table.ts index a9fa5ba391..8f18a0b77c 100644 --- a/src/components/data-table/ha-data-table.ts +++ b/src/components/data-table/ha-data-table.ts @@ -69,6 +69,7 @@ export interface DataTableSortColumnData { } export interface DataTableColumnData extends DataTableSortColumnData { + main?: boolean; title: TemplateResult | string; label?: TemplateResult | string; type?: "numeric" | "icon" | "icon-button" | "overflow-menu"; @@ -406,7 +407,7 @@ export class HaDataTable extends LitElement { } return html`
({ name: { title: this.hass.localize("ui.panel.config.backup.name"), + main: true, sortable: true, filterable: true, grows: true, diff --git a/src/panels/config/blueprint/ha-blueprint-overview.ts b/src/panels/config/blueprint/ha-blueprint-overview.ts index 3a395312af..0ed6081d61 100644 --- a/src/panels/config/blueprint/ha-blueprint-overview.ts +++ b/src/panels/config/blueprint/ha-blueprint-overview.ts @@ -109,6 +109,7 @@ class HaBlueprintOverview extends LitElement { title: this.hass.localize( "ui.panel.config.blueprint.overview.headers.name" ), + main: true, sortable: true, filterable: true, direction: "asc", diff --git a/src/panels/config/devices/ha-config-devices-dashboard.ts b/src/panels/config/devices/ha-config-devices-dashboard.ts index 078ec02f79..46ba34fe88 100644 --- a/src/panels/config/devices/ha-config-devices-dashboard.ts +++ b/src/panels/config/devices/ha-config-devices-dashboard.ts @@ -238,6 +238,7 @@ export class HaConfigDeviceDashboard extends LitElement { const columns: DataTableColumnContainer = narrow ? { name: { + main: true, title: this.hass.localize( "ui.panel.config.devices.data_table.device" ), diff --git a/src/panels/config/entities/ha-config-entities.ts b/src/panels/config/entities/ha-config-entities.ts index 8e3448994f..9479740dbb 100644 --- a/src/panels/config/entities/ha-config-entities.ts +++ b/src/panels/config/entities/ha-config-entities.ts @@ -182,6 +182,7 @@ export class HaConfigEntities extends SubscribeMixin(LitElement) { `, }, name: { + main: true, title: this.hass.localize( "ui.panel.config.entities.picker.headers.name" ), diff --git a/src/panels/config/helpers/ha-config-helpers.ts b/src/panels/config/helpers/ha-config-helpers.ts index 2fd9747c86..e77202eb6c 100644 --- a/src/panels/config/helpers/ha-config-helpers.ts +++ b/src/panels/config/helpers/ha-config-helpers.ts @@ -91,6 +91,7 @@ export class HaConfigHelpers extends SubscribeMixin(LitElement) { }, name: { title: localize("ui.panel.config.helpers.picker.headers.name"), + main: true, sortable: true, filterable: true, grows: true, diff --git a/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts b/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts index 55af2f7899..afa5d71126 100644 --- a/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts +++ b/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts @@ -78,6 +78,7 @@ export class HaConfigLovelaceDashboards extends LitElement { title: this.hass.localize( "ui.panel.config.lovelace.dashboards.picker.headers.title" ), + main: true, sortable: true, filterable: true, grows: true, diff --git a/src/panels/config/scene/ha-scene-dashboard.ts b/src/panels/config/scene/ha-scene-dashboard.ts index afebd61588..76e857a7f3 100644 --- a/src/panels/config/scene/ha-scene-dashboard.ts +++ b/src/panels/config/scene/ha-scene-dashboard.ts @@ -95,6 +95,7 @@ class HaSceneDashboard extends LitElement { title: this.hass.localize( "ui.panel.config.scene.picker.headers.name" ), + main: true, sortable: true, filterable: true, direction: "asc", diff --git a/src/panels/config/script/ha-script-picker.ts b/src/panels/config/script/ha-script-picker.ts index a4f4891ae3..97ef655d18 100644 --- a/src/panels/config/script/ha-script-picker.ts +++ b/src/panels/config/script/ha-script-picker.ts @@ -93,6 +93,7 @@ class HaScriptPicker extends LitElement { }, name: { title: this.hass.localize("ui.panel.config.script.picker.headers.name"), + main: true, sortable: true, filterable: true, direction: "asc", diff --git a/src/panels/config/tags/ha-config-tags.ts b/src/panels/config/tags/ha-config-tags.ts index 87a4b01b18..e566aff75d 100644 --- a/src/panels/config/tags/ha-config-tags.ts +++ b/src/panels/config/tags/ha-config-tags.ts @@ -66,6 +66,7 @@ export class HaConfigTags extends SubscribeMixin(LitElement) { }, display_name: { title: this.hass.localize("ui.panel.config.tag.headers.name"), + main: true, sortable: true, filterable: true, grows: true, diff --git a/src/panels/config/users/ha-config-users.ts b/src/panels/config/users/ha-config-users.ts index b192716e43..54c949f7d7 100644 --- a/src/panels/config/users/ha-config-users.ts +++ b/src/panels/config/users/ha-config-users.ts @@ -43,6 +43,7 @@ export class HaConfigUsers extends LitElement { const columns: DataTableColumnContainer = { name: { title: localize("ui.panel.config.users.picker.headers.name"), + main: true, sortable: true, filterable: true, width: "25%", From 8c7974e466f963190dfea1f1227429526aaf5c97 Mon Sep 17 00:00:00 2001 From: mbo18 Date: Mon, 3 Oct 2022 13:37:37 +0200 Subject: [PATCH 07/15] Add icon to device class duration (#13961) * Add icon to device class duration * Change to mdiProgressClock --- src/common/const.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/const.ts b/src/common/const.ts index e4e383e49b..12db9d8d2c 100644 --- a/src/common/const.ts +++ b/src/common/const.ts @@ -43,6 +43,7 @@ import { mdiMoleculeCo, mdiMoleculeCo2, mdiPalette, + mdiProgressClock, mdiRayVertex, mdiRemote, mdiRobot, @@ -125,6 +126,7 @@ export const FIXED_DEVICE_CLASS_ICONS = { current: mdiCurrentAc, date: mdiCalendar, distance: mdiArrowLeftRight, + duration: mdiProgressClock, energy: mdiLightningBolt, frequency: mdiSineWave, gas: mdiMeterGas, From aa673774a8c13d159ee8a082e7aff51fa6cc196b Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 3 Oct 2022 13:38:22 +0200 Subject: [PATCH 08/15] Correct filtering of statistics when adding gas energy source (#13968) --- .../config/energy/dialogs/dialog-energy-gas-settings.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/panels/config/energy/dialogs/dialog-energy-gas-settings.ts b/src/panels/config/energy/dialogs/dialog-energy-gas-settings.ts index 21dfda4df6..b166aca0d8 100644 --- a/src/panels/config/energy/dialogs/dialog-energy-gas-settings.ts +++ b/src/panels/config/energy/dialogs/dialog-energy-gas-settings.ts @@ -102,7 +102,10 @@ export class DialogEnergyGasSettings Date: Mon, 3 Oct 2022 17:42:30 +0200 Subject: [PATCH 09/15] Fix empty value combobox (#13971) --- src/components/ha-combo-box.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ha-combo-box.ts b/src/components/ha-combo-box.ts index adbb06a1bd..fa328e4dda 100644 --- a/src/components/ha-combo-box.ts +++ b/src/components/ha-combo-box.ts @@ -297,7 +297,7 @@ export class HaComboBox extends LitElement { const newValue = ev.detail.value; if (newValue !== this.value) { - fireEvent(this, "value-changed", { value: newValue }); + fireEvent(this, "value-changed", { value: newValue || undefined }); } } From 9c923e45c5f2cd71b006cac7ec5fc1763836bac2 Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Mon, 3 Oct 2022 09:38:25 -0700 Subject: [PATCH 10/15] Improve video user experience by loading camera thumbnail as initial video background image (#13943) --- src/components/ha-camera-stream.ts | 32 ++++++++++++++++++++++++----- src/components/ha-hls-player.ts | 3 +++ src/components/ha-web-rtc-player.ts | 3 +++ 3 files changed, 33 insertions(+), 5 deletions(-) diff --git a/src/components/ha-camera-stream.ts b/src/components/ha-camera-stream.ts index 8c50c15934..c0b5ef6f0e 100644 --- a/src/components/ha-camera-stream.ts +++ b/src/components/ha-camera-stream.ts @@ -15,6 +15,7 @@ import { CAMERA_SUPPORT_STREAM, computeMJPEGStreamUrl, fetchStreamUrl, + fetchThumbnailUrlWithCache, STREAM_TYPE_HLS, STREAM_TYPE_WEB_RTC, } from "../data/camera"; @@ -37,6 +38,9 @@ class HaCameraStream extends LitElement { @property({ type: Boolean, attribute: "allow-exoplayer" }) public allowExoPlayer = false; + // Video background image before its loaded + @state() private _posterUrl?: string; + // We keep track if we should force MJPEG if there was a failure // to get the HLS stream url. This is reset if we change entities. @state() private _forceMJPEG?: string; @@ -51,12 +55,14 @@ class HaCameraStream extends LitElement { !this._shouldRenderMJPEG && this.stateObj && (changedProps.get("stateObj") as CameraEntity | undefined)?.entity_id !== - this.stateObj.entity_id && - this.stateObj!.attributes.frontend_stream_type === STREAM_TYPE_HLS + this.stateObj.entity_id ) { - this._forceMJPEG = undefined; - this._url = undefined; - this._getStreamUrl(); + this._getPosterUrl(); + if (this.stateObj!.attributes.frontend_stream_type === STREAM_TYPE_HLS) { + this._forceMJPEG = undefined; + this._url = undefined; + this._getStreamUrl(); + } } } @@ -94,6 +100,7 @@ class HaCameraStream extends LitElement { .controls=${this.controls} .hass=${this.hass} .url=${this._url} + .posterUrl=${this._posterUrl} >` : html``; } @@ -105,6 +112,7 @@ class HaCameraStream extends LitElement { .controls=${this.controls} .hass=${this.hass} .entityid=${this.stateObj.entity_id} + .posterUrl=${this._posterUrl} >`; } return html``; @@ -129,6 +137,20 @@ class HaCameraStream extends LitElement { return !isComponentLoaded(this.hass!, "stream"); } + private async _getPosterUrl(): Promise { + try { + this._posterUrl = await fetchThumbnailUrlWithCache( + this.hass!, + this.stateObj!.entity_id, + this.clientWidth, + this.clientHeight + ); + } catch (err: any) { + // poster url is optional + this._posterUrl = undefined; + } + } + private async _getStreamUrl(): Promise { try { const { url } = await fetchStreamUrl( diff --git a/src/components/ha-hls-player.ts b/src/components/ha-hls-player.ts index 70a91b7e5e..895bba4d18 100644 --- a/src/components/ha-hls-player.ts +++ b/src/components/ha-hls-player.ts @@ -23,6 +23,8 @@ class HaHLSPlayer extends LitElement { @property() public url!: string; + @property() public posterUrl!: string; + @property({ type: Boolean, attribute: "controls" }) public controls = false; @@ -78,6 +80,7 @@ class HaHLSPlayer extends LitElement { : ""} ${!this._errorIsFatal ? html` `; } From c12189b27ff3f0034d3a03453a1a6f71d48bfde2 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 3 Oct 2022 19:11:03 +0200 Subject: [PATCH 11/15] Add isExternalStatistic helper (#13969) --- src/data/recorder.ts | 3 +++ .../config/energy/dialogs/dialog-energy-gas-settings.ts | 5 +++-- .../config-elements/hui-statistics-graph-card-editor.ts | 8 +++++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/data/recorder.ts b/src/data/recorder.ts index 5d6fd71806..caa97fd29a 100644 --- a/src/data/recorder.ts +++ b/src/data/recorder.ts @@ -289,3 +289,6 @@ export const getDisplayUnit = ( ? statisticsMetaData?.statistics_unit_of_measurement : unit; }; + +export const isExternalStatistic = (statisticsId: string): boolean => + statisticsId.includes(":"); diff --git a/src/panels/config/energy/dialogs/dialog-energy-gas-settings.ts b/src/panels/config/energy/dialogs/dialog-energy-gas-settings.ts index b166aca0d8..c0e37a46be 100644 --- a/src/panels/config/energy/dialogs/dialog-energy-gas-settings.ts +++ b/src/panels/config/energy/dialogs/dialog-energy-gas-settings.ts @@ -21,6 +21,7 @@ import type { HaRadio } from "../../../../components/ha-radio"; import { getStatisticMetadata, getDisplayUnit, + isExternalStatistic, } from "../../../../data/recorder"; @customElement("dialog-energy-gas-settings") @@ -86,7 +87,7 @@ export class DialogEnergyGasSettings : "ft³ or m³"); const externalSource = - this._source.stat_cost && this._source.stat_cost.includes(":"); + this._source.stat_cost && isExternalStatistic(this._source.stat_cost); return html` : statisticIds?.some((statistic_id) => - statistic_id.includes(":") + isExternalStatistic(statistic_id) ), })), }, @@ -240,7 +240,9 @@ export class HuiStatisticsGraphCardEditor private async _entitiesChanged(ev: CustomEvent): Promise { const config = { ...this._config!, entities: ev.detail.value }; if ( - config.entities?.some((statistic_id) => statistic_id.includes(":")) && + config.entities?.some((statistic_id) => + isExternalStatistic(statistic_id) + ) && config.period === "5minute" ) { delete config.period; From ed8b07b7e200f255f0e1d143036158404ac438eb Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 3 Oct 2022 19:29:55 +0200 Subject: [PATCH 12/15] Render automation description as Markdown (#13975) --- src/panels/config/automation/manual-automation-editor.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/panels/config/automation/manual-automation-editor.ts b/src/panels/config/automation/manual-automation-editor.ts index 0ef9d6b166..59fc55b3ce 100644 --- a/src/panels/config/automation/manual-automation-editor.ts +++ b/src/panels/config/automation/manual-automation-editor.ts @@ -81,7 +81,11 @@ export class HaManualAutomationEditor extends LitElement { ` : ""} ${this.config.description - ? html`

${this.config.description}

` + ? html`` : ""}

From 7ededd27664cd3f743117bef14ac899a5e486e4d Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 3 Oct 2022 19:40:22 +0200 Subject: [PATCH 13/15] Disable trigger id for read only automation (#13976) --- .../config/automation/trigger/ha-automation-trigger-row.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts index d20053d184..9ac8ad7f9d 100644 --- a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts +++ b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts @@ -291,6 +291,7 @@ export default class HaAutomationTriggerRow extends LitElement { "ui.panel.config.automation.editor.triggers.id" )} .value=${this.trigger.id || ""} + .disabled=${this.disabled} @change=${this._idChanged} > From d3738adf116fd9eb4b03868be46846179f34d1ed Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 3 Oct 2022 19:41:15 +0200 Subject: [PATCH 14/15] Bumped version to 20221003.0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 49715f19bc..bd5d34eab8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "home-assistant-frontend" -version = "20221002.0" +version = "20221003.0" license = {text = "Apache-2.0"} description = "The Home Assistant frontend" readme = "README.md" From 70d4fe1285c5023679d8c8fd34c89b96179f914a Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 3 Oct 2022 20:02:00 +0200 Subject: [PATCH 15/15] main col device data table none narrow (#13977) --- src/panels/config/devices/ha-config-devices-dashboard.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/panels/config/devices/ha-config-devices-dashboard.ts b/src/panels/config/devices/ha-config-devices-dashboard.ts index 46ba34fe88..ccfc4b201b 100644 --- a/src/panels/config/devices/ha-config-devices-dashboard.ts +++ b/src/panels/config/devices/ha-config-devices-dashboard.ts @@ -238,10 +238,10 @@ export class HaConfigDeviceDashboard extends LitElement { const columns: DataTableColumnContainer = narrow ? { name: { - main: true, title: this.hass.localize( "ui.panel.config.devices.data_table.device" ), + main: true, sortable: true, filterable: true, direction: "asc", @@ -259,6 +259,7 @@ export class HaConfigDeviceDashboard extends LitElement { title: this.hass.localize( "ui.panel.config.devices.data_table.device" ), + main: true, sortable: true, filterable: true, grows: true,