diff --git a/assets/js/mixins/formatter.ts b/assets/js/mixins/formatter.ts index 69d28c6b5..56a525a5c 100644 --- a/assets/js/mixins/formatter.ts +++ b/assets/js/mixins/formatter.ts @@ -23,6 +23,7 @@ const CURRENCY_SYMBOLS: Record = { DKK: "kr", SEK: "kr", ZAR: "R", + TRY: "₺", }; // list of currencies where energy price should be displayed in subunits (factor 100) @@ -41,6 +42,7 @@ const ENERGY_PRICE_IN_SUBUNIT: Partial> = { DKK: "øre", // Danish øre SEK: "öre", // Swedish öre ZAR: "c", // South African cent + TRY: "krş", // Türkiye kuruş }; export enum POWER_UNIT { diff --git a/assets/js/types/evcc.ts b/assets/js/types/evcc.ts index 9377684ac..656bd9eb7 100644 --- a/assets/js/types/evcc.ts +++ b/assets/js/types/evcc.ts @@ -381,6 +381,7 @@ export enum CURRENCY { DKK = "DKK", SEK = "SEK", ZAR = "ZAR", + TRY = "TRY", } export enum ICON_SIZE {