mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix entities sort for hidden/readonly (#19124)
This commit is contained in:
parent
67e573aff7
commit
bded31b311
@ -74,7 +74,7 @@ export interface EntityRow extends StateEntity {
|
|||||||
entity?: HassEntity;
|
entity?: HassEntity;
|
||||||
unavailable: boolean;
|
unavailable: boolean;
|
||||||
restored: boolean;
|
restored: boolean;
|
||||||
status: string;
|
status: string | undefined;
|
||||||
area?: string;
|
area?: string;
|
||||||
localized_platform: string;
|
localized_platform: string;
|
||||||
}
|
}
|
||||||
@ -429,7 +429,13 @@ export class HaConfigEntities extends LitElement {
|
|||||||
? localize("ui.panel.config.entities.picker.status.unavailable")
|
? localize("ui.panel.config.entities.picker.status.unavailable")
|
||||||
: entry.disabled_by
|
: entry.disabled_by
|
||||||
? localize("ui.panel.config.entities.picker.status.disabled")
|
? localize("ui.panel.config.entities.picker.status.disabled")
|
||||||
: localize("ui.panel.config.entities.picker.status.ok"),
|
: entry.hidden_by
|
||||||
|
? localize("ui.panel.config.entities.picker.status.hidden")
|
||||||
|
: entry.readonly
|
||||||
|
? localize(
|
||||||
|
"ui.panel.config.entities.picker.status.readonly"
|
||||||
|
)
|
||||||
|
: undefined,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3657,8 +3657,7 @@
|
|||||||
"unavailable": "Unavailable",
|
"unavailable": "Unavailable",
|
||||||
"disabled": "Disabled",
|
"disabled": "Disabled",
|
||||||
"readonly": "Read-only",
|
"readonly": "Read-only",
|
||||||
"hidden": "Hidden",
|
"hidden": "Hidden"
|
||||||
"ok": "Ok"
|
|
||||||
},
|
},
|
||||||
"headers": {
|
"headers": {
|
||||||
"state_icon": "State icon",
|
"state_icon": "State icon",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user