Skip to content

Commit

Permalink
Revert preset icons addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentame committed Dec 24, 2023
1 parent b1cd89f commit 7e6addc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/data/climate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
mdiBed,
mdiCircleMedium,
mdiClockOutline,
mdiClose,
mdiFan,
mdiFanAuto,
mdiFanOff,
Expand All @@ -19,7 +18,6 @@ import {
mdiRocketLaunch,
mdiSnowflake,
mdiSofa,
mdiSnowflakeMelt,
mdiSpeedometer,
mdiSpeedometerMedium,
mdiSpeedometerSlow,
Expand Down Expand Up @@ -142,10 +140,7 @@ export const computeHvacModeIcon = (mode: HvacMode) =>
CLIMATE_HVAC_MODE_ICONS[mode];

type ClimateBuiltInPresetMode =
| "none"
| "eco"
| "frost_protection"
| "auto"
| "away"
| "boost"
| "comfort"
Expand All @@ -157,14 +152,11 @@ export const CLIMATE_PRESET_MODE_ICONS: Record<
ClimateBuiltInPresetMode,
string
> = {
auto: mdiThermostatAuto,
away: mdiAccountArrowRight,
boost: mdiRocketLaunch,
comfort: mdiSofa,
eco: mdiLeaf,
frost_protection: mdiSnowflakeMelt,
home: mdiHome,
none: mdiClose,
sleep: mdiBed,
activity: mdiMotionSensor,
};
Expand Down

0 comments on commit 7e6addc

Please sign in to comment.