Restore attributes removed from ha-entity-marker in ha-map (#23603)

* Restore attributes removed from ha-entity-marker in ha-map

* Use Reflect
This commit is contained in:
karwosts 2025-01-07 00:10:26 -08:00 committed by Bram Kragten
parent 0ee6548650
commit 344e083ac6

View File

@ -8,7 +8,7 @@ import "../ha-state-icon";
class HaEntityMarker extends LitElement {
@property({ attribute: false }) public hass!: HomeAssistant;
@property({ attribute: "entity-id" }) public entityId?: string;
@property({ attribute: "entity-id", reflect: true }) public entityId?: string;
@property({ attribute: "entity-name" }) public entityName?: string;