We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc74772 commit 6b501deCopy full SHA for 6b501de
1 file changed
src/lib/ui/thermostat/ClimateModeMenu.tsx
@@ -92,12 +92,17 @@ function ModeIcon(props: { mode: HvacModeSetting }): JSX.Element {
92
return <ThermostatHeatCoolIcon />
93
case 'off':
94
return <OffIcon />
95
+ case 'eco':
96
+ return <ThermostatHeatCoolIcon />
97
+ default:
98
+ return <OffIcon />
99
}
100
101
-const t = {
102
+const t: Record<HvacModeSetting, string> = {
103
heat: 'Heat',
104
cool: 'Cool',
105
heat_cool: 'Heat & Cool',
106
off: 'Off',
107
+ eco: 'Eco',
108
0 commit comments