diff --git a/src/localize/languages/en.json b/src/localize/languages/en.json index 2de7ad76..46dfbd32 100644 --- a/src/localize/languages/en.json +++ b/src/localize/languages/en.json @@ -160,11 +160,15 @@ "label": "Fan speed", "value": { "silent": "Silent", + "quiet": "Quiet", + "gentle": "Gentle", "standard": "Standard", + "balanced": "Balanced", "medium": "Medium", "turbo": "Turbo", + "max": "Max", "auto": "Auto", - "gentle": "Gentle" + "custom": "Custom" } }, "sensor_dirty_left": { diff --git a/src/localize/languages/he.json b/src/localize/languages/he.json index a80686de..46225561 100644 --- a/src/localize/languages/he.json +++ b/src/localize/languages/he.json @@ -159,12 +159,16 @@ "fan_speed": { "label": "מהירות מאוורר", "value": { - "silent": "שקט", + "silent": "חרישי", + "quiet": "שקט", + "gentle": "עדין", "standard": "סטנדרט", + "balanced": "מאוזן", "medium": "בינוני", "turbo": "טורבו", + "max": "מקסימום", "auto": "אוטומט", - "gentle": "עדין" + "custom": "מותאם" } }, "sensor_dirty_left": { diff --git a/src/model/generators/icon-list-generator.ts b/src/model/generators/icon-list-generator.ts index 0156254c..e3f7f2a4 100644 --- a/src/model/generators/icon-list-generator.ts +++ b/src/model/generators/icon-list-generator.ts @@ -55,14 +55,18 @@ class IconsGeneratorContext { export class IconListGenerator { private static _ICON_MAPPING = { Silent: "mdi:fan-remove", + Quiet: "mdi:waves", + Gentle: "mdi:waves", Basic: "mdi:fan-speed-1", + Balanced: "mdi:fan-speed-1", Standard: "mdi:fan-speed-1", Strong: "mdi:fan-speed-2", Medium: "mdi:fan-speed-2", "Full Speed": "mdi:fan-speed-3", Turbo: "mdi:fan-speed-3", + Max: "mdi:fan-speed-3", Auto: "mdi:fan-auto", - Gentle: "mdi:waves", + Custom: "mdi:waves", }; public static async generate( diff --git a/src/model/generators/tiles-generator.ts b/src/model/generators/tiles-generator.ts index 87bee877..907d2190 100644 --- a/src/model/generators/tiles-generator.ts +++ b/src/model/generators/tiles-generator.ts @@ -138,7 +138,18 @@ export class TilesGenerator { attribute: "fan_speed", icon: "mdi:fan", translations: TilesGenerator.generateTranslationKeys( - ["silent", "standard", "medium", "turbo", "auto", "gentle"], + [ + "silent", + "standard", + "medium", + "turbo", + "auto", + "gentle", + "quiet", + "balanced", + "max", + "custom", + ], "fan_speed", language, ), @@ -310,4 +321,4 @@ export function sortTiles(t1: TileConfig, t2: TileConfig): number { if (t2.order === undefined) return -1; return t1.order - t2.order; -} \ No newline at end of file +}