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:
TomMini 2018-11-14 04:32:50 +01:00 committed by Zack Arnett
parent 4407da9364
commit 8a9762dd93
2 changed files with 7 additions and 1 deletions

View File

@ -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);
}

View File

@ -182,7 +182,8 @@
"performance": "Performance",
"high_demand": "High demand",
"heat_pump": "Heat pump",
"gas": "Gas"
"gas": "Gas",
"manual": "Manual"
},
"configurator": {
"configure": "Configure",