diff --git a/CHANGELOG_LATEST.md b/CHANGELOG_LATEST.md index fd6a515eb..d131ad6c6 100644 --- a/CHANGELOG_LATEST.md +++ b/CHANGELOG_LATEST.md @@ -47,6 +47,7 @@ For more details go to [www.emsesp.org](https://www.emsesp.org/). - entity for low-temperature boilers pump start temp (pumpOnTemp) #2088 [#2088](https://github.com/emsesp/EMS-ESP32/issues/2088) - internal ESP32 temperature sensor on the S3 [#2077](https://github.com/emsesp/EMS-ESP32/issues/2077) - MQTT status topic (used in connect and last will) set to Retain [#2086](https://github.com/emsesp/EMS-ESP32/discussions/2086) +- Czech language [2096](https://github.com/emsesp/EMS-ESP32/issues/2096) ## Fixed diff --git a/interface/package.json b/interface/package.json index 2e4b7ada6..45af3a462 100644 --- a/interface/package.json +++ b/interface/package.json @@ -47,7 +47,7 @@ "@preact/preset-vite": "^2.9.1", "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/formidable": "^3", - "@types/node": "^22.7.5", + "@types/node": "^22.7.6", "@types/react": "^18.3.11", "@types/react-dom": "^18.3.1", "@types/react-router-dom": "^5.3.3", diff --git a/interface/src/utils/usePersistState.ts b/interface/src/utils/usePersistState.ts index d8cb8a19a..86cc4ae93 100644 --- a/interface/src/utils/usePersistState.ts +++ b/interface/src/utils/usePersistState.ts @@ -9,7 +9,7 @@ export const usePersistState = ( const local_storage_value_str = localStorage.getItem('state:' + id); // If there is a value stored in localStorage, use that if (local_storage_value_str) { - return JSON.parse(local_storage_value_str); + return JSON.parse(local_storage_value_str) as T; } // Otherwise use initial_value that was passed to the function return initial_value; diff --git a/interface/yarn.lock b/interface/yarn.lock index 6cec6099b..81da6fb3a 100644 --- a/interface/yarn.lock +++ b/interface/yarn.lock @@ -1685,12 +1685,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.7.5": - version: 22.7.5 - resolution: "@types/node@npm:22.7.5" +"@types/node@npm:^22.7.6": + version: 22.7.6 + resolution: "@types/node@npm:22.7.6" dependencies: undici-types: "npm:~6.19.2" - checksum: 10c0/cf11f74f1a26053ec58066616e3a8685b6bcd7259bc569738b8f752009f9f0f7f85a1b2d24908e5b0f752482d1e8b6babdf1fbb25758711ec7bb9500bfcd6e60 + checksum: 10c0/d4406a63afce981c363fb1d1954aaf1759ad2d487c0833ebf667565ea4e45ff217d6fab4b5343badbdeccdf9d2e4a0841d633e0c929ceabcb33c288663dd0c73 languageName: node linkType: hard @@ -1917,7 +1917,7 @@ __metadata: "@table-library/react-table-library": "npm:4.1.7" "@trivago/prettier-plugin-sort-imports": "npm:^4.3.0" "@types/formidable": "npm:^3" - "@types/node": "npm:^22.7.5" + "@types/node": "npm:^22.7.6" "@types/react": "npm:^18.3.11" "@types/react-dom": "npm:^18.3.1" "@types/react-router-dom": "npm:^5.3.3" diff --git a/src/version.h b/src/version.h index f4677a34b..82448f289 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define EMSESP_APP_VERSION "3.7.0-dev.45" \ No newline at end of file +#define EMSESP_APP_VERSION "3.7.0-dev.46" \ No newline at end of file