📷 Add camera card on generate (#2279)

This commit is contained in:
Bram Kragten 2018-12-12 15:00:00 +01:00 committed by Ian Richardson
parent 6a9cfbfa1c
commit 118f28285e

View File

@ -42,6 +42,11 @@ const computeCards = (
type: "alarm-panel",
entity: entityId,
});
} else if (domain === "camera") {
cards.push({
type: "picture-entity",
entity: entityId,
});
} else if (domain === "climate") {
cards.push({
type: "thermostat",