1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-02 08:33:31 +01:00

Map card editor: use context in attribute selector (#30393)

use context in attribute selector
This commit is contained in:
ildar170975
2026-03-28 12:13:44 +03:00
committed by GitHub
parent 24b8078a9c
commit b4a07f504c

View File

@@ -197,10 +197,10 @@ export class HuiMapCardEditor extends LitElement implements LovelaceCardEditor {
disabled: this._shouldDisableOptions(entityId),
selector: {
attribute: {
entity_id: entityId,
hide_attributes: ["entity_picture", "friendly_name", "icon"],
},
},
context: { filter_entity: "entity" },
},
{
name: "unit",