mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-11 19:36:35 +00:00
Clean generated config for tile in sections (#19974)
* Do not include show_entity_picture false in tile card config * Update src/panels/lovelace/common/generate-lovelace-config.ts Co-authored-by: Bram Kragten <mail@bramkragten.nl> --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
05e2e305e4
commit
0c6bf701c7
@ -112,9 +112,9 @@ export const computeSection = (
|
|||||||
({
|
({
|
||||||
type: "tile",
|
type: "tile",
|
||||||
entity,
|
entity,
|
||||||
show_entity_picture: ["person", "camera", "image"].includes(
|
show_entity_picture:
|
||||||
computeDomain(entity)
|
["person", "camera", "image"].includes(computeDomain(entity)) ||
|
||||||
),
|
undefined,
|
||||||
}) as TileCardConfig
|
}) as TileCardConfig
|
||||||
),
|
),
|
||||||
...sectionOptions,
|
...sectionOptions,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user