mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 05:57:54 +00:00
📷 Add camera card on generate (#2279)
This commit is contained in:
parent
6a9cfbfa1c
commit
118f28285e
@ -42,6 +42,11 @@ const computeCards = (
|
|||||||
type: "alarm-panel",
|
type: "alarm-panel",
|
||||||
entity: entityId,
|
entity: entityId,
|
||||||
});
|
});
|
||||||
|
} else if (domain === "camera") {
|
||||||
|
cards.push({
|
||||||
|
type: "picture-entity",
|
||||||
|
entity: entityId,
|
||||||
|
});
|
||||||
} else if (domain === "climate") {
|
} else if (domain === "climate") {
|
||||||
cards.push({
|
cards.push({
|
||||||
type: "thermostat",
|
type: "thermostat",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user