Skip to content

Commit

Permalink
3.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Hombach authored and Hombach committed Nov 21, 2024
1 parent 336c552 commit 0d51a55
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 24 deletions.
11 changes: 0 additions & 11 deletions build/lib/tibberCalculator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/lib/tibberCalculator.js.map

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@
"version": "3.5.3",
"news": {
"3.5.3": {
"en": "WIP"
"en": "Fix edge case in output state setup and usage\nOptimized state subscription\nUpdate deprecated state calls\nAdd await to delObjectAsync\nHarmonize project tools\nDependency updates",
"de": "Randfall bei der Einrichtung und Nutzung von Ausgabeständen behoben\nZustandsabonnement optimiert\nVeraltete Zustandsaufrufe aktualisiert\nAwait zu delObjectAsync hinzugefügt\nProjektwerkzeuge harmonisiert\nAbhängigkeiten aktualisiert",
"ru": "Исправлен крайний случай настройки и использования выходного состояния\nОптимизирована подписка на состояние\nОбновлены устаревшие вызовы состояния\nДобавлено ожидание в delObjectAsync\nУнификация инструментов проекта\nОбновление зависимостей",
"pt": "Corrigir caso extremo na configuração e uso do estado de saída\nAssinatura de estado otimizada\nAtualizar chamadas de estado obsoletas\nAdicionar await ao delObjectAsync\nHarmonizar ferramentas do projeto\nAtualizar dependências",
"nl": "Randgeval in output statusinstelling en gebruik opgelost\nStatusabonnement geoptimaliseerd\nVerouderde statusaanroepen bijgewerkt\nAwait toegevoegd aan delObjectAsync\nProjecttools geharmoniseerd\nAfhankelijkheden bijgewerkt",
"fr": "Correction d'un cas limite dans la configuration et l'utilisation de l'état de sortie\nOptimisation de la souscription d'état\nMise à jour des appels d'état obsolètes\nAjout d'attente à delObjectAsync\nHarmonisation des outils de projet\nMise à jour des dépendances",
"it": "Corretto caso limite nella configurazione e utilizzo dello stato di output\nOttimizzata la sottoscrizione dello stato\nAggiornate le chiamate di stato deprecate\nAggiunto await a delObjectAsync\nArmonizzati gli strumenti del progetto\nAggiornate le dipendenze",
"es": "Corregir caso límite en la configuración y uso del estado de salida\nOptimizar suscripción de estado\nActualizar llamadas de estado obsoletas\nAgregar await a delObjectAsync\nArmonizar herramientas del proyecto\nActualizar dependencias",
"pl": "Naprawiono przypadek brzegowy w konfiguracji i użyciu stanu wyjścia\nZoptymalizowano subskrypcję stanu\nZaktualizowano przestarzałe wywołania stanów\nDodano await do delObjectAsync\nUjednolicono narzędzia projektu\nZaktualizowano zależności",
"uk": "Виправлено крайній випадок у налаштуванні та використанні стану виходу\nОптимізовано підписку на стан\nОновлено застарілі виклики стану\nДодано await до delObjectAsync\nУніфіковано інструменти проєкту\nОновлено залежності",
"zh-cn": "修复输出状态设置和使用中的边缘情况\n优化状态订阅\n更新已弃用的状态调用\n在 delObjectAsync 中添加 await\n统一项目工具\n更新依赖项"
},
"3.5.2": {
"en": "Add verification for YES/NO 2 values in calculator (#547)\nOptimized responsive design (#544)\nMigrate eslint to >9.x\nSwitch to ES2022 code\nAdapted to new API constraints (#546)",
Expand Down
11 changes: 0 additions & 11 deletions src/lib/tibberCalculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,24 +215,13 @@ export class TibberCalculator extends ProjectUtils {

//#region *** subscribe state changes ***
// this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.*`);
this.adapter.subscribeStates([
`Homes.${homeId}.Calculations.${channel}.Active`,
`Homes.${homeId}.Calculations.${channel}.TriggerPrice`,
`Homes.${homeId}.Calculations.${channel}.AmountHours`,
`Homes.${homeId}.Calculations.${channel}.StartTime`,
`Homes.${homeId}.Calculations.${channel}.StopTime`,
`Homes.${homeId}.Calculations.${channel}.RepeatDays`,
`Homes.${homeId}.Calculations.${channel}.EfficiencyLoss`,
]);
/*
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.Active`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.TriggerPrice`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.AmountHours`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.StartTime`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.StopTime`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.RepeatDays`);
this.adapter.subscribeStates(`Homes.${homeId}.Calculations.${channel}.EfficiencyLoss`);
*/
//#endregion
} catch (error) {
this.adapter.log.warn(this.generateErrorMessage(error, `setup of states for calculator`));
Expand Down

0 comments on commit 0d51a55

Please sign in to comment.