Compare commits

...

2 Commits

Author SHA1 Message Date
Marcin Bauer
9a10cd7fa8 Fix automation sidebar top padding (#51978)
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-11 11:12:15 +01:00
Aidan Timson
fa354aed2a Remove hass from dialog, bottom-sheet and callers (#51976)
* Remove hass prop from adaptive and bottom sheet

* Remove hass

* Remove hass prop from callers

* Prepare commented code for context

* Pass object

* Restore

* Restore

* Remove hass

* Remove hass
2026-05-11 12:01:11 +02:00
144 changed files with 11 additions and 167 deletions

View File

@@ -127,7 +127,6 @@ export class DialogDataTableSettings extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${localize("ui.components.data-table.settings.header")}
@closed=${this._dialogClosed}

View File

@@ -4,7 +4,6 @@ import { css, html, LitElement, nothing } from "lit";
import { customElement, property, state } from "lit/decorators";
import { listenMediaQuery } from "../common/dom/media_query";
import { internationalizationContext } from "../data/context";
import type { HomeAssistant } from "../types";
import "./ha-bottom-sheet";
import "./ha-dialog-header";
import "./ha-icon-button";
@@ -82,8 +81,6 @@ export const ADAPTIVE_DIALOG_MEDIA_QUERY =
*/
@customElement("ha-adaptive-dialog")
export class HaAdaptiveDialog extends LitElement {
@property({ attribute: false }) public hass!: HomeAssistant;
@property({ attribute: "aria-labelledby" })
public ariaLabelledBy?: string;
@@ -202,7 +199,6 @@ export class HaAdaptiveDialog extends LitElement {
.ariaLabelledBy=${this._defaultAriaLabelledBy}
.ariaDescribedBy=${this.ariaDescribedBy}
.flexContent=${this.flexContent}
.hass=${this.hass}
.open=${this.open}
.preventScrimClose=${this.preventScrimClose}
>
@@ -221,7 +217,6 @@ export class HaAdaptiveDialog extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this.open}
.type=${this.type}
.width=${this.width}

View File

@@ -7,7 +7,6 @@ import { fireEvent } from "../common/dom/fire_event";
import { SwipeGestureRecognizer } from "../common/util/swipe-gesture-recognizer";
import { ScrollableFadeMixin } from "../mixins/scrollable-fade-mixin";
import { haStyleScrollbar } from "../resources/styles";
import type { HomeAssistant } from "../types";
export const BOTTOM_SHEET_ANIMATION_DURATION_MS = 300;
@@ -47,8 +46,6 @@ const SWIPE_LOCKED_CLASSES = new Set(["volume-slider-container", "forecast"]);
*/
@customElement("ha-bottom-sheet")
export class HaBottomSheet extends ScrollableFadeMixin(LitElement) {
@property({ attribute: false }) public hass?: HomeAssistant;
@property({ attribute: "aria-labelledby" })
public ariaLabelledBy?: string;
@@ -67,6 +64,11 @@ export class HaBottomSheet extends ScrollableFadeMixin(LitElement) {
@state() private _sliderInteractionActive = false;
// disabled till iOS app fix the "focus_element" implementation
// @state()
// @consume({ context: configContext, subscribe: true })
// private _hassConfig?: ContextType<typeof configContext>;
@query("#drawer") private _drawer!: HTMLElement;
@query("#body") private _bodyElement!: HTMLDivElement;
@@ -90,13 +92,13 @@ export class HaBottomSheet extends ScrollableFadeMixin(LitElement) {
requestAnimationFrame(() => {
// disabled till iOS app fix the "focus_element" implementation
// if (this.hass && isIosApp(this.hass.auth.external)) {
// if (this._hassConfig?.auth.external && isIosApp(this._hassConfig.auth.external)) {
// const element = this.renderRoot.querySelector("[autofocus]");
// if (element !== null) {
// if (!element.id) {
// element.id = "ha-bottom-sheet-autofocus";
// }
// this.hass.auth.external?.fireMessage({
// this._hassConfig.auth.external.fireMessage({
// type: "focus_element",
// payload: {
// element_id: element.id,

View File

@@ -76,12 +76,7 @@ class DialogJoinMediaPlayers extends LitElement {
const entityId = this._entityId;
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
flexcontent
@closed=${this._dialogClosed}
>
<ha-dialog .open=${this._open} flexcontent @closed=${this._dialogClosed}>
<ha-dialog-header show-border slot="header">
<ha-icon-button
.label=${this.hass.localize("ui.common.close")}

View File

@@ -100,7 +100,6 @@ class DialogMediaManage extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
?prevent-scrim-close=${this._uploading || this._deleting}
@closed=${this._dialogClosed}

View File

@@ -77,7 +77,6 @@ class DialogMediaPlayerBrowse extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
width="large"
flexcontent

View File

@@ -154,7 +154,6 @@ class DialogTargetDetails extends LitElement implements HassDialog {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._opened}
header-title=${this.hass.localize(
"ui.components.target-picker.target_details"

View File

@@ -58,7 +58,6 @@ class DialogConfigEntrySystemOptions extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.dialogs.config_entry_system_options.title",

View File

@@ -333,7 +333,6 @@ class DataEntryFlowDialog extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
prevent-scrim-close
@after-show=${this._focusFormStep}

View File

@@ -103,7 +103,6 @@ export class ListItemsDialog
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this._params.title ?? " "}
@closed=${this._dialogClosed}

View File

@@ -112,7 +112,6 @@ export class DialogEnterCode
if (isText) {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this._dialogParams.title ??
this.hass.localize("ui.dialogs.enter_code.title")}
@@ -150,7 +149,6 @@ export class DialogEnterCode
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this._dialogParams.title ?? "Enter code"}
width="small"

View File

@@ -140,7 +140,6 @@ export class DialogForm
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this._params.title}
prevent-scrim-close

View File

@@ -96,7 +96,6 @@ export class HaImagecropperDialog
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.dialogs.image_cropper.crop_image"

View File

@@ -148,7 +148,6 @@ class DialogLightColorFavorite extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
.headerTitle=${this._dialogParams?.title}
@closed=${this._dialogClosed}

View File

@@ -65,7 +65,6 @@ class MoreInfoSirenAdvancedControls extends LitElement {
return html`
<ha-dialog
.open=${this._open}
.hass=${this.hass}
header-title=${this.hass.localize(
"ui.components.siren.advanced_controls"
)}

View File

@@ -598,7 +598,6 @@ export class MoreInfoDialog extends ScrollableFadeMixin(LitElement) {
return html`
<ha-adaptive-dialog
.hass=${this.hass}
.open=${this._open}
.width=${this._fill ? "full" : this.large ? "large" : "medium"}
@closed=${this._dialogClosed}

View File

@@ -242,7 +242,6 @@ export class QuickBar extends LitElement {
<ha-adaptive-dialog
without-header
flexcontent
.hass=${this.hass}
aria-label=${this.hass.localize("ui.dialogs.quick-bar.title")}
.open=${this._open}
hideActions
@@ -253,7 +252,6 @@ export class QuickBar extends LitElement {
${!this._loading && this._opened
? html`<ha-picker-combo-box
id="combo-box"
.hass=${this.hass}
@index-selected=${this._handleItemSelected}
.notFoundLabel=${this.hass.localize(
"ui.dialogs.quick-bar.nothing_found"

View File

@@ -76,7 +76,6 @@ class DialogRestartWait extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
.headerTitle=${this._title}
@closed=${this._dialogClosed}

View File

@@ -109,7 +109,6 @@ class DialogRestart extends LitElement {
return html`
<ha-adaptive-dialog
.hass=${this.hass}
.open=${this._dialogOpen}
header-title=${dialogTitle}
allow-mode-change

View File

@@ -165,7 +165,6 @@ class DialogEditSidebar extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${dialogTitle}
header-subtitle=${!this._migrateToUserData

View File

@@ -70,7 +70,6 @@ export class TTSTryDialog extends LitElement {
}
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize("ui.dialogs.tts-try.header")}
@closed=${this._dialogClosed}

View File

@@ -29,7 +29,6 @@ class DialogBox extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize("ui.dialogs.update_backup.title")}
width="small"

View File

@@ -143,7 +143,6 @@ export class HaVoiceAssistantSetupDialog extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title="Voice Satellite setup"
prevent-scrim-close

View File

@@ -98,12 +98,7 @@ export class HaVoiceCommandDialog extends LitElement {
}
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
@closed=${this._dialogClosed}
flexcontent
>
<ha-dialog .open=${this._open} @closed=${this._dialogClosed} flexcontent>
<ha-dialog-header slot="header">
<ha-icon-button
slot="navigationIcon"

View File

@@ -552,7 +552,6 @@ export class HaTabsSubpageDataTable extends KeyboardShortcutMixin(LitElement) {
</hass-tabs-subpage>
${this.showFilters && !showPane
? html`<ha-dialog
.hass=${this.hass}
.open=${true}
width="full"
header-title=${localize("ui.components.subpage-data-table.filters")}

View File

@@ -41,7 +41,6 @@ class ConfirmEventDialogBox extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this._params.title}
width="small"

View File

@@ -66,7 +66,6 @@ class DialogCalendarEventDetail extends LitElement {
const stateObj = this.hass.states[this._calendarId!];
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this._data!.summary}
@closed=${this._dialogClosed}

View File

@@ -149,7 +149,6 @@ class DialogCalendarEventEditor extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
`ui.components.calendar.event.${isCreate ? "add" : "edit"}`

View File

@@ -98,7 +98,6 @@ export class DialogAddApplicationCredential extends LitElement {
: "";
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
@closed=${this._abortDialog}
.preventScrimClose=${!!this._domain ||

View File

@@ -70,7 +70,6 @@ class AppsRegistriesDialog extends LitElement {
protected render(): TemplateResult {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
@closed=${this._dialogClosed}
header-title=${this.hass.localize(

View File

@@ -87,7 +87,6 @@ class DialogAreasFloorsOrder extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${dialogTitle}
@closed=${this._dialogClosed}

View File

@@ -108,7 +108,6 @@ class DialogFloorDetail extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${entry
? this.hass.localize("ui.panel.config.floors.editor.update_floor")

View File

@@ -598,7 +598,6 @@ class DialogAddAutomationElement
return html`
<ha-dialog
.hass=${this.hass}
width="large"
.open=${this._open}
@closed=${this._handleClosed}

View File

@@ -57,7 +57,6 @@ class DialogAutomationSaveTimeout extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._opened}
header-title=${title}
@closed=${this._dialogClosed}

View File

@@ -152,7 +152,6 @@ class DialogNewAutomation extends LitElement {
return html`
<ha-adaptive-dialog
.hass=${this.hass}
.open=${this._open}
flexcontent
header-title=${this.hass.localize(

View File

@@ -39,7 +39,6 @@ class DialogPasteReplace extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
@closed=${this._dialogClosed}
header-title=${this.hass.localize(

View File

@@ -142,6 +142,7 @@ export default class HaAutomationSidebarCard extends ScrollableFadeMixin(
min-height: 0;
overflow: auto;
margin-top: 0;
padding-top: 0;
padding-bottom: max(var(--safe-area-inset-bottom, 0px), 32px);
}

View File

@@ -241,7 +241,6 @@ export const automationRowsStyles = css`
export const sidebarEditorStyles = css`
.sidebar-editor {
display: block;
padding-top: 8px;
}
.description {
padding-top: 16px;

View File

@@ -209,7 +209,6 @@ class DialogBackupOnboarding extends LitElement implements HassDialog {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this._stepTitle}
prevent-scrim-close

View File

@@ -89,7 +89,6 @@ class DialogChangeBackupEncryptionKey extends LitElement implements HassDialog {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${dialogTitle}
prevent-scrim-close

View File

@@ -56,7 +56,6 @@ class DialogDownloadDecryptedBackup extends LitElement implements HassDialog {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.backup.dialogs.download.title"

View File

@@ -181,11 +181,7 @@ class DialogGenerateBackup extends LitElement implements HassDialog {
const selectedAgents = this._formData.agent_ids;
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
@closed=${this._dialogClosed}
>
<ha-dialog .open=${this._open} @closed=${this._dialogClosed}>
<ha-dialog-header slot="header">
${isFirstStep
? html`

View File

@@ -64,7 +64,6 @@ class LocalBackupLocationDialog extends LitElement {
}
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
`ui.panel.config.backup.dialogs.local_backup_location.title`

View File

@@ -46,7 +46,6 @@ class DialogNewBackup extends LitElement implements HassDialog {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._opened}
header-title=${this.hass.localize(
"ui.panel.config.backup.dialogs.new.title"

View File

@@ -137,7 +137,6 @@ class DialogRestoreBackup extends LitElement implements HassDialog {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${dialogTitle}
@closed=${this._dialogClosed}

View File

@@ -86,7 +86,6 @@ class DialogSetBackupEncryptionKey extends LitElement implements HassDialog {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${dialogTitle}
prevent-scrim-close

View File

@@ -47,7 +47,6 @@ class DialogShowBackupEncryptionKey extends LitElement implements HassDialog {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.backup.dialogs.show_encryption_key.title"

View File

@@ -75,7 +75,6 @@ export class DialogUploadBackup
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.backup.dialogs.upload.title"

View File

@@ -73,7 +73,6 @@ class DialogImportBlueprint extends LitElement {
const heading = this.hass.localize("ui.panel.config.blueprint.add.header");
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
width=${this.large ? "full" : "medium"}
@closed=${this._dialogClosed}

View File

@@ -39,7 +39,6 @@ export class DialogSupportPackage extends LitElement {
protected render() {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
width="full"
header-title="Download support package"

View File

@@ -92,7 +92,6 @@ export class DialogTryTts extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.cloud.account.tts.dialog.header"

View File

@@ -49,7 +49,6 @@ class DialogCloudAlreadyConnected extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.cloud.dialog_already_connected.heading"

View File

@@ -41,7 +41,6 @@ class DialogCloudCertificate extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.cloud.dialog_certificate.certificate_information"

View File

@@ -51,7 +51,6 @@ export class DialogManageCloudhook extends LitElement {
: documentationUrl(this.hass!, `/integrations/${webhook.domain}/`);
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass!.localize(
"ui.panel.config.cloud.dialog_cloudhook.webhook_for",

View File

@@ -46,7 +46,6 @@ export class DialogJoinBeta
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize("ui.dialogs.join_beta_channel.title")}
@closed=${this._dialogClosed}

View File

@@ -136,7 +136,6 @@ class DialogNewDashboard extends LitElement implements HassDialog {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
flexcontent
width="large"

View File

@@ -157,7 +157,6 @@ export class DialogStatisticsFixUnsupportedUnitMetadata extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.developer-tools.tabs.statistics.fix_issue.adjust_sum.title"

View File

@@ -51,7 +51,6 @@ export class DialogStatisticsFixUnitsChanged extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.developer-tools.tabs.statistics.fix_issue.units_changed.title"

View File

@@ -48,7 +48,6 @@ export class DialogStatisticsFix extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
`ui.panel.config.developer-tools.tabs.statistics.fix_issue.${issue.type}.title`

View File

@@ -144,7 +144,6 @@ export class DialogDeviceAutomation extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${title}
@closed=${this._dialogClosed}

View File

@@ -49,7 +49,6 @@ class DialogMQTTDeviceDebugInfo extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
width="large"
header-title=${this.hass!.localize(

View File

@@ -67,7 +67,6 @@ class DialogDeviceRegistryDetail extends LitElement {
const device = this._params.device;
return html`
<ha-adaptive-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${computeDeviceNameDisplay(
device,

View File

@@ -122,7 +122,6 @@ export class DialogEnergyBatterySettings
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.energy.battery.dialog.header"

View File

@@ -138,7 +138,6 @@ export class DialogEnergyDeviceSettingsWater
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.energy.device_consumption_water.dialog.header"

View File

@@ -139,7 +139,6 @@ export class DialogEnergyDeviceSettings
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.energy.device_consumption.dialog.header"

View File

@@ -145,7 +145,6 @@ export class DialogEnergyGasSettings
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.energy.gas.dialog.header"

View File

@@ -174,7 +174,6 @@ export class DialogEnergyGridSettings
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.energy.grid.dialog.header"

View File

@@ -103,7 +103,6 @@ export class DialogEnergySolarSettings
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.energy.solar.dialog.header"

View File

@@ -112,7 +112,6 @@ export class DialogEnergyWaterSettings
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.energy.water.dialog.header"

View File

@@ -156,7 +156,6 @@ export class DialogVacuumSegmentMapping
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
@closed=${this._dialogClosed}
.headerTitle=${this.hass.localize(

View File

@@ -289,7 +289,6 @@ export class DialogHelperDetail extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this._domain
? this.hass.localize(

View File

@@ -80,7 +80,6 @@ class DialogScheduleBlockInfo extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass!.localize(
"ui.dialogs.helper_settings.schedule.edit_schedule_block"

View File

@@ -389,7 +389,6 @@ class AddIntegrationDialog extends LitElement {
: this.hass.localize("ui.panel.config.integrations.new");
return html`<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${headerTitle}
@closed=${this._dialogClosed}

View File

@@ -39,7 +39,6 @@ export class DialogPickConfigEntry extends LitElement {
);
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${title}
@closed=${this._dialogClosed}

View File

@@ -42,7 +42,6 @@ export class DialogYamlIntegration extends LitElement {
: manifest.documentation;
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.integrations.config_flow.yaml_only_title"

View File

@@ -57,7 +57,6 @@ class DialogBluetoothDeviceInfo extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.bluetooth.device_information"

View File

@@ -174,7 +174,6 @@ class DialogMatterAddDevice extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${title}
prevent-scrim-close

View File

@@ -85,7 +85,6 @@ class DialogMatterLockManage extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.matter.lock.dialog_title"

View File

@@ -76,7 +76,6 @@ class DialogMatterLockUserEdit extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${title}
@closed=${this._dialogClosed}

View File

@@ -48,7 +48,6 @@ class DialogMatterManageFabrics extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.matter.manage_fabrics.title"

View File

@@ -43,7 +43,6 @@ class DialogMatterOpenCommissioningWindow extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.matter.open_commissioning_window.title"

View File

@@ -51,7 +51,6 @@ class DialogMatterPingNode extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.matter.ping_node.title"

View File

@@ -36,7 +36,6 @@ class DialogMatterReinterviewNode extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.matter.reinterview_node.title"

View File

@@ -63,7 +63,6 @@ class DialogSSDPDiscoveryInfo extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.ssdp.discovery_information"

View File

@@ -41,7 +41,6 @@ class DialogSSDPRawData extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${`${this.hass.localize("ui.panel.config.ssdp.raw_data_title")}: ${this._params.key}`}
@closed=${this._dialogClosed}

View File

@@ -43,7 +43,6 @@ class DialogThreadDataset extends LitElement {
otbrInfo.active_dataset_tlvs?.includes(dataset.extended_pan_id);
return html`<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${network.name}
@closed=${this._dialogClosed}

View File

@@ -52,7 +52,6 @@ class DialogZeroconfDiscoveryInfo extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.zeroconf.discovery_information"

View File

@@ -78,7 +78,6 @@ class DialogZHAChangeChannel
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.zha.change_channel_dialog.title"

View File

@@ -96,7 +96,6 @@ class DialogZHAManageZigbeeDevice extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
prevent-scrim-close
@closed=${this._dialogClosed}

View File

@@ -80,7 +80,6 @@ class DialogZHAReconfigureDevice extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
width="large"
header-title=${this.hass.localize(

View File

@@ -141,7 +141,6 @@ class DialogZWaveJSAddNode extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
?prevent-scrim-close=${preventClose}
@closed=${this._dialogClosed}

View File

@@ -58,7 +58,6 @@ class DialogZWaveJSHardResetController extends LitElement {
}
return html`<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
`ui.panel.config.zwave_js.hard_reset_controller.${

View File

@@ -84,7 +84,6 @@ class DialogZWaveJSNodeStatistics extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.zwave_js.node_statistics.title"

View File

@@ -55,7 +55,6 @@ class DialogZWaveJSRebuildNodeRoutes extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.zwave_js.rebuild_node_routes.title"

View File

@@ -42,7 +42,6 @@ class DialogZWaveJSReinterviewNode extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.zwave_js.reinterview_node.title"

View File

@@ -117,7 +117,6 @@ class DialogZWaveJSRemoveNode extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${dialogTitle}
prevent-scrim-close

View File

@@ -195,7 +195,6 @@ class DialogZWaveJSUpdateFirmwareNode extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize(
"ui.panel.config.zwave_js.update_firmware.title"

View File

@@ -145,7 +145,6 @@ export class DialogLabsPreviewFeatureEnable
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize("ui.panel.config.labs.enable_title")}
@closed=${this._dialogClosed}

View File

@@ -40,7 +40,6 @@ export class DialogLabsProgress
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
prevent-scrim-close
@closed=${this._handleClosed}

View File

@@ -67,7 +67,6 @@ class DownloadLogsDialog extends LitElement {
return html`
<ha-dialog
.hass=${this.hass}
.open=${this._open}
header-title=${this.hass.localize("ui.panel.config.logs.download_logs")}
header-subtitle=${headerSubtitle}

Some files were not shown because too many files have changed in this diff Show More