mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 12:46:35 +00:00
Automatically detect plants (#2146)
This commit is contained in:
parent
c02b7a33fe
commit
913cd2b3d4
@ -52,6 +52,11 @@ const computeCards = (
|
|||||||
type: "media-control",
|
type: "media-control",
|
||||||
entity: entityId,
|
entity: entityId,
|
||||||
});
|
});
|
||||||
|
} else if (domain === "plant") {
|
||||||
|
cards.push({
|
||||||
|
type: "plant-status",
|
||||||
|
entity: entityId,
|
||||||
|
});
|
||||||
} else if (domain === "weather") {
|
} else if (domain === "weather") {
|
||||||
cards.push({
|
cards.push({
|
||||||
type: "weather-forecast",
|
type: "weather-forecast",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user