parent
cd9faf7d67
commit
420477e416
|
@ -210,8 +210,18 @@ export const computeAreaTileCardConfig =
|
||||||
const additionalCardConfig: Partial<TileCardConfig> = {};
|
const additionalCardConfig: Partial<TileCardConfig> = {};
|
||||||
|
|
||||||
const domain = computeDomain(entity);
|
const domain = computeDomain(entity);
|
||||||
|
|
||||||
if (domain === "camera") {
|
if (domain === "camera") {
|
||||||
additionalCardConfig.show_entity_picture = true;
|
return {
|
||||||
|
type: "picture-entity",
|
||||||
|
entity: entity,
|
||||||
|
show_state: false,
|
||||||
|
show_name: false,
|
||||||
|
grid_options: {
|
||||||
|
columns: 6,
|
||||||
|
rows: 2,
|
||||||
|
},
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
let feature: LovelaceCardFeatureConfig | undefined;
|
let feature: LovelaceCardFeatureConfig | undefined;
|
||||||
|
|
Loading…
Reference in New Issue