Automatically detect plants (#2146)

This commit is contained in:
Paulus Schoutsen 2018-11-29 11:24:30 +01:00 committed by Bram Kragten
parent c02b7a33fe
commit 913cd2b3d4

View File

@ -52,6 +52,11 @@ const computeCards = (
type: "media-control",
entity: entityId,
});
} else if (domain === "plant") {
cards.push({
type: "plant-status",
entity: entityId,
});
} else if (domain === "weather") {
cards.push({
type: "weather-forecast",