mirror of
https://github.com/home-assistant/frontend
synced 2024-09-25 09:39:00 +02: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 = {
|
||||
type: "thermostat",
|
||||
entity: entityId,
|
||||
features: [
|
||||
{
|
||||
type: "climate-hvac-modes",
|
||||
hvac_modes: states[entityId]?.attributes?.hvac_modes,
|
||||
},
|
||||
],
|
||||
};
|
||||
cards.push(cardConfig);
|
||||
} else if (domain === "humidifier") {
|
||||
const cardConfig: HumidifierCardConfig = {
|
||||
type: "humidifier",
|
||||
entity: entityId,
|
||||
features: [
|
||||
{
|
||||
type: "humidifier-modes",
|
||||
},
|
||||
],
|
||||
};
|
||||
cards.push(cardConfig);
|
||||
} else if (domain === "media_player") {
|
||||
|
Loading…
Reference in New Issue
Block a user