Ensure disabled device entity names are shown (#11334)

This commit is contained in:
Philip Allgaier 2022-01-17 06:21:50 +01:00 committed by GitHub
parent 52588a3915
commit 32bbdc194a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,7 @@ export class HaDeviceEntitiesCard extends LitElement {
? stripPrefixFromEntityName(
name,
`${this.deviceName} `.toLowerCase()
)
) || name
: entry.entity_id}
</div>
</paper-item-body>