mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Remove card features for humidifier and climate on default dashboard (#18747)
This commit is contained in:
parent
322fa99147
commit
2afd2788e2
@ -141,23 +141,12 @@ export const computeCards = (
|
|||||||
const cardConfig: ThermostatCardConfig = {
|
const cardConfig: ThermostatCardConfig = {
|
||||||
type: "thermostat",
|
type: "thermostat",
|
||||||
entity: entityId,
|
entity: entityId,
|
||||||
features: [
|
|
||||||
{
|
|
||||||
type: "climate-hvac-modes",
|
|
||||||
hvac_modes: states[entityId]?.attributes?.hvac_modes,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
cards.push(cardConfig);
|
cards.push(cardConfig);
|
||||||
} else if (domain === "humidifier") {
|
} else if (domain === "humidifier") {
|
||||||
const cardConfig: HumidifierCardConfig = {
|
const cardConfig: HumidifierCardConfig = {
|
||||||
type: "humidifier",
|
type: "humidifier",
|
||||||
entity: entityId,
|
entity: entityId,
|
||||||
features: [
|
|
||||||
{
|
|
||||||
type: "humidifier-modes",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
cards.push(cardConfig);
|
cards.push(cardConfig);
|
||||||
} else if (domain === "media_player") {
|
} else if (domain === "media_player") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user