mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 21:17:47 +00:00
Remove light card for generated mode
This commit is contained in:
parent
5ff8fe68ba
commit
c1eabeb29f
@ -132,11 +132,6 @@ export const computeCards = (
|
|||||||
title: stateObj.attributes.friendly_name,
|
title: stateObj.attributes.friendly_name,
|
||||||
refresh_interval: stateObj.attributes.refresh,
|
refresh_interval: stateObj.attributes.refresh,
|
||||||
});
|
});
|
||||||
} else if (domain === "light") {
|
|
||||||
cards.push({
|
|
||||||
type: "light",
|
|
||||||
entity: entityId,
|
|
||||||
});
|
|
||||||
} else if (domain === "media_player") {
|
} else if (domain === "media_player") {
|
||||||
cards.push({
|
cards.push({
|
||||||
type: "media-control",
|
type: "media-control",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user