mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 19:09:48 +00:00
Add new design to thermostat card (#18709)
* Add new design for thermostat card * Add feature to thermostat card * Fix margin * Add current * use big number component * Add current * Fix translations * Add theme and name options * Reduce margin on small card * Fix types * Add hvac mode to default dashboard * Don't put feature full size * Full width for features * Improve design on small screen
This commit is contained in:
@@ -141,6 +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") {
|
||||
|
||||
Reference in New Issue
Block a user