diff --git a/assets/js/mixins/formatter.ts b/assets/js/mixins/formatter.ts index 47c05d1b5..4b0b3a9d8 100644 --- a/assets/js/mixins/formatter.ts +++ b/assets/js/mixins/formatter.ts @@ -75,6 +75,10 @@ const CURRENCY_SYMBOLS: Record = { TRY: "₺", MYR: "RM", THB: "฿", + BYN: "Br", + UAH: "₴", + RUB: "₽", + KZT: "₸", }; // list of currencies where energy price should be displayed in subunits (factor 100) @@ -94,6 +98,7 @@ const ENERGY_PRICE_IN_SUBUNIT: Partial> = { SEK: "öre", // Swedish öre ZAR: "c", // South African cent TRY: "krş", // Türkiye kuruş + BYN: "к.", // Belarusian kapeyka }; export enum POWER_UNIT { diff --git a/assets/js/types/evcc.ts b/assets/js/types/evcc.ts index 22f697402..659042f95 100644 --- a/assets/js/types/evcc.ts +++ b/assets/js/types/evcc.ts @@ -816,6 +816,10 @@ export enum CURRENCY { TRY = "TRY", MYR = "MYR", THB = "THB", + BYN = "BYN", + UAH = "UAH", + RUB = "RUB", + KZT = "KZT", } export enum ICON_SIZE { diff --git a/server/mcp/openapi.json b/server/mcp/openapi.json index 537003276..02cf646e6 100644 --- a/server/mcp/openapi.json +++ b/server/mcp/openapi.json @@ -3648,7 +3648,11 @@ "ZAR", "TRY", "MYR", - "THB" + "THB", + "BYN", + "UAH", + "RUB", + "KZT" ] }, "FatalError": { diff --git a/server/openapi.state.yaml b/server/openapi.state.yaml index 664858fc7..ada39bc1c 100644 --- a/server/openapi.state.yaml +++ b/server/openapi.state.yaml @@ -510,6 +510,10 @@ components: - TRY - MYR - THB + - BYN + - UAH + - RUB + - KZT DeviceColorEntry: description: Color assigned to a device for consistent UI display. type: object