From d6684c58066249b33395a54f5a68cf3841a53349 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 27 Dec 2023 17:46:17 +0100 Subject: [PATCH 1/7] Revert hide automation desc in advanced mode (#19158) --- src/panels/config/automation/manual-automation-editor.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/panels/config/automation/manual-automation-editor.ts b/src/panels/config/automation/manual-automation-editor.ts index 811ea2c3fd0a..042fca491ae3 100644 --- a/src/panels/config/automation/manual-automation-editor.ts +++ b/src/panels/config/automation/manual-automation-editor.ts @@ -85,8 +85,7 @@ export class HaManualAutomationEditor extends LitElement { > - ${!this.hass.userData?.showAdvanced && - !ensureArray(this.config.trigger)?.length + ${!ensureArray(this.config.trigger)?.length ? html`

${this.hass.localize( "ui.panel.config.automation.editor.triggers.description" @@ -125,8 +124,7 @@ export class HaManualAutomationEditor extends LitElement { > - ${!this.hass.userData?.showAdvanced && - !ensureArray(this.config.condition)?.length + ${!ensureArray(this.config.condition)?.length ? html`

${this.hass.localize( "ui.panel.config.automation.editor.conditions.description", @@ -165,8 +163,7 @@ export class HaManualAutomationEditor extends LitElement { - ${!this.hass.userData?.showAdvanced && - !ensureArray(this.config.action)?.length + ${!ensureArray(this.config.action)?.length ? html`

${this.hass.localize( "ui.panel.config.automation.editor.actions.description" From 5b11e0ce29ae3acbe7d2f09caec1e8bf90609557 Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Wed, 27 Dec 2023 20:26:17 +0100 Subject: [PATCH 2/7] Fix self referencing translation (#19159) --- src/translations/en.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/translations/en.json b/src/translations/en.json index 6d4253fd3f8f..5ceb47ab7c33 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1119,8 +1119,8 @@ }, "valve": { "switch_mode": { - "button": "[%key:ui::dialogs::more_info_control::valve::switch_mode::button%]", - "position": "[%key:ui::dialogs::more_info_control::valve::switch_mode::position%]" + "button": "[%key:ui::dialogs::more_info_control::cover::switch_mode::button%]", + "position": "[%key:ui::dialogs::more_info_control::cover::switch_mode::position%]" } } }, From b180a587bf56ac25084fb639ccaca76c7012b4f8 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 28 Dec 2023 14:18:18 +0100 Subject: [PATCH 3/7] Address feedback of automation editor (#19167) --- src/components/ha-list-item.ts | 1 + src/data/action.ts | 1 + src/panels/config/automation/add-automation-element-dialog.ts | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/ha-list-item.ts b/src/components/ha-list-item.ts index d3481cc192e6..dcd13f0f7074 100644 --- a/src/components/ha-list-item.ts +++ b/src/components/ha-list-item.ts @@ -46,6 +46,7 @@ export class HaListItem extends ListItemBase { .mdc-deprecated-list-item__meta { display: var(--mdc-list-item-meta-display); align-items: center; + flex-shrink: 0; } :host([graphic="icon"]:not([twoline])) .mdc-deprecated-list-item__graphic { diff --git a/src/data/action.ts b/src/data/action.ts index a7ed018409f4..2c5f2aa12578 100644 --- a/src/data/action.ts +++ b/src/data/action.ts @@ -67,6 +67,7 @@ export const ACTION_GROUPS: AutomationElementGroup = { icon: mdiDotsHorizontal, members: { event: {}, + service: {}, }, }, } as const; diff --git a/src/panels/config/automation/add-automation-element-dialog.ts b/src/panels/config/automation/add-automation-element-dialog.ts index 6c830976c54f..fdf1d97f4086 100644 --- a/src/panels/config/automation/add-automation-element-dialog.ts +++ b/src/panels/config/automation/add-automation-element-dialog.ts @@ -452,8 +452,8 @@ class DialogAddAutomationElement extends LitElement implements HassDialog { itemRoles="option" rootTabbable style=${styleMap({ - width: `${this._width}px`, - height: `${this._height}px`, + width: this._width ? `${this._width}px` : "auto", + height: this._height ? `${Math.min(468, this._height)}px` : "auto", })} > ${this._params.clipboardItem && From b11563d618a1254f3722fc0ac547772affb30c95 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 28 Dec 2023 15:32:31 +0100 Subject: [PATCH 4/7] Small automation editor fixes (#19160) --- .../config/automation/ha-automation-picker.ts | 14 ++++++++------ src/panels/config/scene/ha-scene-dashboard.ts | 6 ++---- src/panels/config/script/ha-script-picker.ts | 6 ++---- src/translations/en.json | 2 +- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/panels/config/automation/ha-automation-picker.ts b/src/panels/config/automation/ha-automation-picker.ts index 46974adb07ce..a29a88d6a35c 100644 --- a/src/panels/config/automation/ha-automation-picker.ts +++ b/src/panels/config/automation/ha-automation-picker.ts @@ -328,7 +328,7 @@ class HaAutomationPicker extends LitElement { > ${!this.automations.length - ? html`

+ ? html`

${this.hass.localize( @@ -338,7 +338,9 @@ class HaAutomationPicker extends LitElement {

${this.hass.localize( "ui.panel.config.automation.picker.empty_text_1" - )}
+ )} +

+

${this.hass.localize( "ui.panel.config.automation.picker.empty_text_2" )} @@ -349,9 +351,7 @@ class HaAutomationPicker extends LitElement { rel="noreferrer" > - ${this.hass.localize( - "ui.panel.config.automation.picker.learn_more" - )} + ${this.hass.localize("ui.panel.config.common.learn_more")}

` @@ -513,7 +513,9 @@ class HaAutomationPicker extends LitElement { target="_blank" rel="noreferrer" > - ${this.hass.localize("ui.panel.config.common.learn_more")} + ${this.hass.localize( + "ui.panel.config.automation.picker.learn_more" + )}

`, diff --git a/src/panels/config/scene/ha-scene-dashboard.ts b/src/panels/config/scene/ha-scene-dashboard.ts index 09b35fcad172..0d3f9a7a0561 100644 --- a/src/panels/config/scene/ha-scene-dashboard.ts +++ b/src/panels/config/scene/ha-scene-dashboard.ts @@ -265,9 +265,7 @@ class HaSceneDashboard extends LitElement { rel="noreferrer" > - ${this.hass.localize( - "ui.panel.config.scene.picker.learn_more" - )} + ${this.hass.localize("ui.panel.config.common.learn_more")}
` @@ -370,7 +368,7 @@ class HaSceneDashboard extends LitElement { target="_blank" rel="noreferrer" > - ${this.hass.localize("ui.panel.config.common.learn_more")} + ${this.hass.localize("ui.panel.config.scene.picker.learn_more")}

`, diff --git a/src/panels/config/script/ha-script-picker.ts b/src/panels/config/script/ha-script-picker.ts index 06fca323d1cd..ac2ace77675e 100644 --- a/src/panels/config/script/ha-script-picker.ts +++ b/src/panels/config/script/ha-script-picker.ts @@ -294,9 +294,7 @@ class HaScriptPicker extends LitElement { rel="noreferrer" > - ${this.hass.localize( - "ui.panel.config.script.picker.learn_more" - )} + ${this.hass.localize("ui.panel.config.common.learn_more")} ` @@ -420,7 +418,7 @@ class HaScriptPicker extends LitElement { target="_blank" rel="noreferrer" > - ${this.hass.localize("ui.panel.config.common.learn_more")} + ${this.hass.localize("ui.panel.config.script.picker.learn_more")}

`, diff --git a/src/translations/en.json b/src/translations/en.json index 5ceb47ab7c33..1e498b7ac444 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2759,7 +2759,7 @@ "preset_mode": "Preset mode" }, "description": { - "picker": "If something happens to a device. Great way to start." + "picker": "If a device is in a certain state. Great way to start." } }, "not": { From 1916dff57bbb2cfbb67bb21f554bb1c56ae3efa0 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 28 Dec 2023 15:32:40 +0100 Subject: [PATCH 5/7] Keep todo item selected when checked/unchecked (#19168) * Keep todo item selected when checked/unchecked * update label when in reoder mode --- .../lovelace/cards/hui-todo-list-card.ts | 22 +++++++++++++++---- src/panels/todo/dialog-todo-item-editor.ts | 1 - src/translations/en.json | 1 + 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/panels/lovelace/cards/hui-todo-list-card.ts b/src/panels/lovelace/cards/hui-todo-list-card.ts index 6dbc1c815006..6c8e75e3b1f9 100644 --- a/src/panels/lovelace/cards/hui-todo-list-card.ts +++ b/src/panels/lovelace/cards/hui-todo-list-card.ts @@ -1,4 +1,5 @@ import "@material/mwc-list/mwc-list"; +import type { List } from "@material/mwc-list/mwc-list"; import { mdiClock, mdiDelete, @@ -229,7 +230,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard { : nothing} ${uncheckedItems.length - ? html`
+ ? html`
${this.hass!.localize( "ui.panel.lovelace.cards.todo-list.unchecked_items" @@ -248,7 +249,9 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard { graphic="icon" > ${this.hass!.localize( - "ui.panel.lovelace.cards.todo-list.reorder_items" + this._reordering + ? "ui.panel.lovelace.cards.todo-list.exit_reorder_items" + : "ui.panel.lovelace.cards.todo-list.reorder_items" )} { const item = this._getItem(ev.currentTarget.itemId); if (!item) { return; } - updateItem(this.hass!, this._entityId!, { + await updateItem(this.hass!, this._entityId!, { ...item, status: item.status === TodoItemStatus.NeedsAction ? TodoItemStatus.Completed : TodoItemStatus.NeedsAction, }); + await this.updateComplete; + const newList: List = this.shadowRoot!.querySelector( + item.status === TodoItemStatus.NeedsAction ? "#checked" : "#unchecked" + )!; + await newList.updateComplete; + const items = + item.status === TodoItemStatus.NeedsAction + ? this._getCheckedItems(this._items) + : this._getUncheckedItems(this._items); + const index = items.findIndex((itm) => itm.uid === item.uid); + newList.focusItemAtIndex(index); } private async _clearCompletedItems(): Promise { diff --git a/src/panels/todo/dialog-todo-item-editor.ts b/src/panels/todo/dialog-todo-item-editor.ts index 6e50995e9ec3..5206bfe8a877 100644 --- a/src/panels/todo/dialog-todo-item-editor.ts +++ b/src/panels/todo/dialog-todo-item-editor.ts @@ -99,7 +99,6 @@ class DialogTodoItemEditor extends LitElement { open @closed=${this.closeDialog} scrimClickAction - escapeKeyAction .heading=${createCloseHeading( this.hass, isCreate diff --git a/src/translations/en.json b/src/translations/en.json index 1e498b7ac444..0209a3ffb70b 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -4768,6 +4768,7 @@ "add_item": "Add item", "today": "Today", "reorder_items": "Reorder items", + "exit_reorder_items": "Exit reorder mode", "drag_and_drop": "Drag and drop", "delete_item": "Delete item", "delete_confirm_title": "Remove completed items?", From 7983556f98da3bb2fb346fe20862b84d4722c8b5 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 28 Dec 2023 15:32:49 +0100 Subject: [PATCH 6/7] Update sortable styling (#19169) --- src/dialogs/area-filter/area-filter-dialog.ts | 3 +- .../automation/action/ha-automation-action.ts | 3 +- .../types/ha-automation-action-choose.ts | 3 +- .../condition/ha-automation-condition.ts | 3 +- .../trigger/ha-automation-trigger.ts | 3 +- .../helpers/forms/ha-input_select-form.ts | 3 +- .../lovelace/cards/hui-todo-list-card.ts | 259 +++++++++--------- .../lovelace/components/hui-entity-editor.ts | 3 +- .../hui-card-features-editor.ts | 3 +- .../editor/hui-entities-card-row-editor.ts | 3 +- src/resources/ha-sortable-style.ts | 12 +- 11 files changed, 160 insertions(+), 138 deletions(-) diff --git a/src/dialogs/area-filter/area-filter-dialog.ts b/src/dialogs/area-filter/area-filter-dialog.ts index 0a62bfbf275b..2dc7cacadcb2 100644 --- a/src/dialogs/area-filter/area-filter-dialog.ts +++ b/src/dialogs/area-filter/area-filter-dialog.ts @@ -207,7 +207,8 @@ export class DialogAreaFilter color: var(--disabled-text-color); } .handle { - cursor: move; + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; } .actions { display: flex; diff --git a/src/panels/config/automation/action/ha-automation-action.ts b/src/panels/config/automation/action/ha-automation-action.ts index c75237a2c00f..dca4bab6acde 100644 --- a/src/panels/config/automation/action/ha-automation-action.ts +++ b/src/panels/config/automation/action/ha-automation-action.ts @@ -319,7 +319,8 @@ export default class HaAutomationAction extends LitElement { overflow: hidden; } .handle { - cursor: move; + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; padding: 12px; } .handle ha-svg-icon { diff --git a/src/panels/config/automation/action/types/ha-automation-action-choose.ts b/src/panels/config/automation/action/types/ha-automation-action-choose.ts index 9051fbb75cd0..5c0ee0763790 100644 --- a/src/panels/config/automation/action/types/ha-automation-action-choose.ts +++ b/src/panels/config/automation/action/types/ha-automation-action-choose.ts @@ -543,7 +543,8 @@ export class HaChooseAction extends LitElement implements ActionElement { padding: 0 16px 16px 16px; } .handle { - cursor: move; + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; padding: 12px; } .handle ha-svg-icon { diff --git a/src/panels/config/automation/condition/ha-automation-condition.ts b/src/panels/config/automation/condition/ha-automation-condition.ts index 7f38b7bb2b7c..27364b92a3ed 100644 --- a/src/panels/config/automation/condition/ha-automation-condition.ts +++ b/src/panels/config/automation/condition/ha-automation-condition.ts @@ -358,7 +358,8 @@ export default class HaAutomationCondition extends LitElement { overflow: hidden; } .handle { - cursor: move; + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; padding: 12px; } .handle ha-svg-icon { diff --git a/src/panels/config/automation/trigger/ha-automation-trigger.ts b/src/panels/config/automation/trigger/ha-automation-trigger.ts index d95e9d292497..90467f61e0b8 100644 --- a/src/panels/config/automation/trigger/ha-automation-trigger.ts +++ b/src/panels/config/automation/trigger/ha-automation-trigger.ts @@ -298,7 +298,8 @@ export default class HaAutomationTrigger extends LitElement { overflow: hidden; } .handle { - cursor: move; + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; padding: 12px; } .handle ha-svg-icon { diff --git a/src/panels/config/helpers/forms/ha-input_select-form.ts b/src/panels/config/helpers/forms/ha-input_select-form.ts index e65f951e4bb2..e8be0fe50418 100644 --- a/src/panels/config/helpers/forms/ha-input_select-form.ts +++ b/src/panels/config/helpers/forms/ha-input_select-form.ts @@ -285,7 +285,8 @@ class HaInputSelectForm extends LitElement { margin-bottom: 8px; } .handle { - cursor: move; + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; padding-right: 12px; } .handle ha-svg-icon { diff --git a/src/panels/lovelace/cards/hui-todo-list-card.ts b/src/panels/lovelace/cards/hui-todo-list-card.ts index 6c8e75e3b1f9..3352f7a42b43 100644 --- a/src/panels/lovelace/cards/hui-todo-list-card.ts +++ b/src/panels/lovelace/cards/hui-todo-list-card.ts @@ -57,6 +57,7 @@ import { findEntities } from "../common/find-entities"; import { createEntityNotFoundWarning } from "../components/hui-warning"; import { LovelaceCard, LovelaceCardEditor } from "../types"; import { TodoListCardConfig } from "./types"; +import { sortableStyles } from "../../../resources/ha-sortable-style"; @customElement("hui-todo-list-card") export class HuiTodoListCard extends LitElement implements LovelaceCard { @@ -619,161 +620,165 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard { } static get styles(): CSSResultGroup { - return css` - ha-card { - height: 100%; - box-sizing: border-box; - } + return [ + sortableStyles, + css` + ha-card { + height: 100%; + box-sizing: border-box; + } - .has-header { - padding-top: 0; - } + .has-header { + padding-top: 0; + } - .addRow { - padding: 16px; - padding-bottom: 0; - position: relative; - } + .addRow { + padding: 16px; + padding-bottom: 0; + position: relative; + } - .addRow ha-icon-button { - position: absolute; - right: 16px; - inset-inline-start: initial; - inset-inline-end: 16px; - } + .addRow ha-icon-button { + position: absolute; + right: 16px; + inset-inline-start: initial; + inset-inline-end: 16px; + } - .addRow, - .header { - display: flex; - flex-direction: row; - align-items: center; - } + .addRow, + .header { + display: flex; + flex-direction: row; + align-items: center; + } - .header { - padding-left: 30px; - padding-right: 16px; - padding-inline-start: 30px; - padding-inline-end: 16px; - margin-top: 8px; - justify-content: space-between; - direction: var(--direction); - } + .header { + padding-left: 30px; + padding-right: 16px; + padding-inline-start: 30px; + padding-inline-end: 16px; + margin-top: 8px; + justify-content: space-between; + direction: var(--direction); + } - .header span { - color: var(--primary-text-color); - font-weight: 500; - } + .header span { + color: var(--primary-text-color); + font-weight: 500; + } - .empty { - padding: 16px 32px; - } + .empty { + padding: 16px 32px; + } - .item { - margin-top: 8px; - } + .item { + margin-top: 8px; + } - ha-check-list-item { - --mdc-list-item-meta-size: 56px; - min-height: 56px; - height: auto; - } + ha-check-list-item { + --mdc-list-item-meta-size: 56px; + min-height: 56px; + height: auto; + } - ha-check-list-item.multiline { - align-items: flex-start; - --check-list-item-graphic-margin-top: 8px; - } + ha-check-list-item.multiline { + align-items: flex-start; + --check-list-item-graphic-margin-top: 8px; + } - .row { - display: flex; - justify-content: space-between; - } + .row { + display: flex; + justify-content: space-between; + } - .multiline .column { - display: flex; - flex-direction: column; - margin-top: 18px; - margin-bottom: 12px; - } + .multiline .column { + display: flex; + flex-direction: column; + margin-top: 18px; + margin-bottom: 12px; + } - .completed .summary { - text-decoration: line-through; - } + .completed .summary { + text-decoration: line-through; + } - .description, - .due { - font-size: 12px; - color: var(--secondary-text-color); - } + .description, + .due { + font-size: 12px; + color: var(--secondary-text-color); + } - .description { - white-space: initial; - overflow: hidden; - display: -webkit-box; - -webkit-line-clamp: 3; - line-clamp: 3; - -webkit-box-orient: vertical; - } + .description { + white-space: initial; + overflow: hidden; + display: -webkit-box; + -webkit-line-clamp: 3; + line-clamp: 3; + -webkit-box-orient: vertical; + } - .description p { - margin: 0; - } + .description p { + margin: 0; + } - .description a { - color: var(--primary-color); - } + .description a { + color: var(--primary-color); + } - .due { - display: flex; - align-items: center; - } + .due { + display: flex; + align-items: center; + } - .due ha-svg-icon { - margin-right: 4px; - --mdc-icon-size: 14px; - } + .due ha-svg-icon { + margin-right: 4px; + --mdc-icon-size: 14px; + } - .due.overdue { - color: var(--warning-color); - } + .due.overdue { + color: var(--warning-color); + } - .completed .due.overdue { - color: var(--secondary-text-color); - } + .completed .due.overdue { + color: var(--secondary-text-color); + } - .handle { - cursor: move; - height: 24px; - padding: 16px 4px; - } + .handle { + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; + height: 24px; + padding: 16px 4px; + } - .deleteItemButton { - position: relative; - left: 8px; - } + .deleteItemButton { + position: relative; + left: 8px; + } - ha-textfield { - flex-grow: 1; - } + ha-textfield { + flex-grow: 1; + } - .divider { - height: 1px; - background-color: var(--divider-color); - margin: 10px 0; - } + .divider { + height: 1px; + background-color: var(--divider-color); + margin: 10px 0; + } - .clearall { - cursor: pointer; - } + .clearall { + cursor: pointer; + } - .todoList { - display: block; - padding: 8px; - } + .todoList { + display: block; + padding: 8px; + } - .warning { - color: var(--error-color); - } - `; + .warning { + color: var(--error-color); + } + `, + ]; } } diff --git a/src/panels/lovelace/components/hui-entity-editor.ts b/src/panels/lovelace/components/hui-entity-editor.ts index 42aed25312af..22ac4f8aa08d 100644 --- a/src/panels/lovelace/components/hui-entity-editor.ts +++ b/src/panels/lovelace/components/hui-entity-editor.ts @@ -181,7 +181,8 @@ export class HuiEntityEditor extends LitElement { } .entity .handle { padding-right: 8px; - cursor: move; + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; padding-inline-end: 8px; padding-inline-start: initial; direction: var(--direction); diff --git a/src/panels/lovelace/editor/config-elements/hui-card-features-editor.ts b/src/panels/lovelace/editor/config-elements/hui-card-features-editor.ts index e7d44e092247..49290ba57102 100644 --- a/src/panels/lovelace/editor/config-elements/hui-card-features-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-card-features-editor.ts @@ -460,7 +460,8 @@ export class HuiCardFeaturesEditor extends LitElement { } .feature .handle { padding-right: 8px; - cursor: move; + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; padding-inline-end: 8px; padding-inline-start: initial; direction: var(--direction); diff --git a/src/panels/lovelace/editor/hui-entities-card-row-editor.ts b/src/panels/lovelace/editor/hui-entities-card-row-editor.ts index 8e06e231af7b..231305a1a3aa 100644 --- a/src/panels/lovelace/editor/hui-entities-card-row-editor.ts +++ b/src/panels/lovelace/editor/hui-entities-card-row-editor.ts @@ -243,7 +243,8 @@ export class HuiEntitiesCardRowEditor extends LitElement { .entity .handle { padding-right: 8px; - cursor: move; + cursor: move; /* fallback if grab cursor is unsupported */ + cursor: grab; padding-inline-end: 8px; padding-inline-start: initial; direction: var(--direction); diff --git a/src/resources/ha-sortable-style.ts b/src/resources/ha-sortable-style.ts index 8c7a5ded7c7b..a1fcfe920900 100644 --- a/src/resources/ha-sortable-style.ts +++ b/src/resources/ha-sortable-style.ts @@ -34,14 +34,22 @@ export const sortableStyles = css` .sortable-fallback { display: none; + opacity: 0; } .sortable-ghost { + border: 2px solid var(--primary-color); + background: rgba(var(--rgb-primary-color), 0.25); + border-radius: 4px; opacity: 0.4; } - .sortable-fallback { - opacity: 0; + .sortable-drag { + border-radius: 4px; + opacity: 1; + background: var(--card-background-color); + box-shadow: 0px 4px 8px 3px #00000026; + cursor: grabbing; } @keyframes keyframes1 { From e5707b423f1d1bdb85a9ea4a69398460ddfd0251 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 28 Dec 2023 15:33:39 +0100 Subject: [PATCH 7/7] Bumped version to 20231228.0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 90a9f4cd09e8..4617d88e3cd2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "home-assistant-frontend" -version = "20231227.0" +version = "20231228.0" license = {text = "Apache-2.0"} description = "The Home Assistant frontend" readme = "README.md"