Remove card features for humidifier and climate on default dashboard (#18747)

This commit is contained in:
Paul Bottein 2023-11-24 12:53:41 +01:00 committed by GitHub
parent 322fa99147
commit 2afd2788e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -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") {