mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Don't add disabled entities to lovelace from device page (#5648)
This commit is contained in:
parent
ae10330844
commit
ee889d59d4
@ -155,7 +155,9 @@ export class HaDeviceEntitiesCard extends LitElement {
|
|||||||
addEntitiesToLovelaceView(
|
addEntitiesToLovelaceView(
|
||||||
this,
|
this,
|
||||||
this.hass,
|
this.hass,
|
||||||
this.entities.map((entity) => entity.entity_id)
|
this.entities
|
||||||
|
.filter((entity) => !entity.disabled_by)
|
||||||
|
.map((entity) => entity.entity_id)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user