Only show nested entities with a null category

This commit is contained in:
Christopher Altona 2022-06-30 03:06:24 +00:00
parent 8ac6ae1187
commit 8940397b23

View File

@ -316,9 +316,7 @@ class HaPanelHistory extends SubscribeMixin(LitElement) {
private _shouldShowEntityByLargerSelection( private _shouldShowEntityByLargerSelection(
entity: EntityRegistryEntry entity: EntityRegistryEntry
): boolean { ): boolean {
return ( return entity.entity_category === null;
entity.entity_category === null || entity.entity_category === "config"
);
} }
private async _getHistory() { private async _getHistory() {