Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbede committed Dec 12, 2024
1 parent 73057da commit 37cb5fd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/panels/config/automation/ha-automation-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import type { CSSResultGroup, PropertyValues, TemplateResult } from "lit";
import { LitElement, css, html, nothing } from "lit";
import { property, state } from "lit/decorators";
import { classMap } from "lit/directives/class-map";
import memoizeOne from "memoize-one";
import { consume } from "@lit-labs/context";
import { fireEvent } from "../../../common/dom/fire_event";
import { navigate } from "../../../common/navigate";
Expand Down Expand Up @@ -54,9 +53,8 @@ import { substituteBlueprint } from "../../../data/blueprint";
import { validateConfig } from "../../../data/config";
import { UNAVAILABLE } from "../../../data/entity";
import {
fetchEntityRegistry,
type EntityRegistryEntry,
updateEntityRegistryEntry,
updateEntityRegistryEntry,
} from "../../../data/entity_registry";
import {
showAlertDialog,
Expand Down Expand Up @@ -888,9 +886,7 @@ export class HaAutomationEditor extends PreventUnsavedMixin(
},
onClose: () => resolve(false),
entityRegistryUpdate: this._entityRegistryUpdate,
entityRegistryEntry: this.entityRegistry.find(
(entry) => entry.unique_id === this.automationId
),
entityRegistryEntry: this._registryEntry,
});
});
}
Expand Down

0 comments on commit 37cb5fd

Please sign in to comment.