mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Add icon for manual mode (#2036)
* Add icon for manual mode * Added state.climate.manual to translations * Added manual color blue
This commit is contained in:
parent
4407da9364
commit
8a9762dd93
@ -33,6 +33,7 @@ const thermostatConfig = {
|
||||
|
||||
const modeIcons = {
|
||||
auto: "hass:autorenew",
|
||||
manual: "hass:cursor-pointer",
|
||||
heat: "hass:fire",
|
||||
cool: "hass:snowflake",
|
||||
off: "hass:power",
|
||||
@ -195,6 +196,7 @@ export class HuiThermostatCard extends hassLocalizeLitMixin(LitElement)
|
||||
--auto-color: green;
|
||||
--cool-color: #2b9af9;
|
||||
--heat-color: #ff8100;
|
||||
--manual-color: #44739e;
|
||||
--off-color: #8a8a8a;
|
||||
--unknown-color: #bac;
|
||||
}
|
||||
@ -211,6 +213,9 @@ export class HuiThermostatCard extends hassLocalizeLitMixin(LitElement)
|
||||
.heat {
|
||||
--mode-color: var(--heat-color);
|
||||
}
|
||||
.manual {
|
||||
--mode-color: var(--manual-color);
|
||||
}
|
||||
.off {
|
||||
--mode-color: var(--off-color);
|
||||
}
|
||||
|
@ -182,7 +182,8 @@
|
||||
"performance": "Performance",
|
||||
"high_demand": "High demand",
|
||||
"heat_pump": "Heat pump",
|
||||
"gas": "Gas"
|
||||
"gas": "Gas",
|
||||
"manual": "Manual"
|
||||
},
|
||||
"configurator": {
|
||||
"configure": "Configure",
|
||||
|
Loading…
x
Reference in New Issue
Block a user