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 = {
|
const modeIcons = {
|
||||||
auto: "hass:autorenew",
|
auto: "hass:autorenew",
|
||||||
|
manual: "hass:cursor-pointer",
|
||||||
heat: "hass:fire",
|
heat: "hass:fire",
|
||||||
cool: "hass:snowflake",
|
cool: "hass:snowflake",
|
||||||
off: "hass:power",
|
off: "hass:power",
|
||||||
@ -195,6 +196,7 @@ export class HuiThermostatCard extends hassLocalizeLitMixin(LitElement)
|
|||||||
--auto-color: green;
|
--auto-color: green;
|
||||||
--cool-color: #2b9af9;
|
--cool-color: #2b9af9;
|
||||||
--heat-color: #ff8100;
|
--heat-color: #ff8100;
|
||||||
|
--manual-color: #44739e;
|
||||||
--off-color: #8a8a8a;
|
--off-color: #8a8a8a;
|
||||||
--unknown-color: #bac;
|
--unknown-color: #bac;
|
||||||
}
|
}
|
||||||
@ -211,6 +213,9 @@ export class HuiThermostatCard extends hassLocalizeLitMixin(LitElement)
|
|||||||
.heat {
|
.heat {
|
||||||
--mode-color: var(--heat-color);
|
--mode-color: var(--heat-color);
|
||||||
}
|
}
|
||||||
|
.manual {
|
||||||
|
--mode-color: var(--manual-color);
|
||||||
|
}
|
||||||
.off {
|
.off {
|
||||||
--mode-color: var(--off-color);
|
--mode-color: var(--off-color);
|
||||||
}
|
}
|
||||||
|
@ -182,7 +182,8 @@
|
|||||||
"performance": "Performance",
|
"performance": "Performance",
|
||||||
"high_demand": "High demand",
|
"high_demand": "High demand",
|
||||||
"heat_pump": "Heat pump",
|
"heat_pump": "Heat pump",
|
||||||
"gas": "Gas"
|
"gas": "Gas",
|
||||||
|
"manual": "Manual"
|
||||||
},
|
},
|
||||||
"configurator": {
|
"configurator": {
|
||||||
"configure": "Configure",
|
"configure": "Configure",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user