diff --git a/src/panels/config/ha-config-section.ts b/src/panels/config/ha-config-section.ts index 16dc7bc389..37ab1808a0 100644 --- a/src/panels/config/ha-config-section.ts +++ b/src/panels/config/ha-config-section.ts @@ -126,3 +126,9 @@ export class HaConfigSection extends LitElement { `; } } + +declare global { + interface HTMLElementTagNameMap { + "ha-config-section": HaConfigSection; + } +} diff --git a/src/panels/config/scene/ha-scene-editor.ts b/src/panels/config/scene/ha-scene-editor.ts index d693bf2417..0fb724c635 100644 --- a/src/panels/config/scene/ha-scene-editor.ts +++ b/src/panels/config/scene/ha-scene-editor.ts @@ -29,6 +29,7 @@ import { computeRTL } from "../../../common/util/compute_rtl"; import "../../../components/device/ha-device-picker"; import "../../../components/entity/ha-entities-picker"; import "../../../components/ha-area-picker"; +import "../../../components/ha-button-menu"; import "../../../components/ha-card"; import "../../../components/ha-fab"; import "../../../components/ha-icon-button"; @@ -279,7 +280,12 @@ export class HaSceneEditor extends SubscribeMixin( > ${this._config ? html` -