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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user