Skip to content

Commit

Permalink
chore: release v0.4.8-alpha.10
Browse files Browse the repository at this point in the history
Bugfix : Avoid loop if init value is set and > reading
Bugfix : Throw error if value is NULL for troubleshooting instead of handling incorrect calculation
  • Loading branch information
DutchmanNL committed Jan 14, 2021
1 parent 39c7e92 commit b5a317f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@ When the adapter crashes or an other Code error happens, this error message that
-->

## Changelog

### 0.4.8-alpha.10 (2021-01-14)
* (Dutchman) Bugfix : Avoid loop if init value is set and > reading
* (Dutchman) Bugfix : Throw error if value is NULL for troubleshooting instead of handling incorrect calculation

### 0.4.8-alpha.9 (2021-01-13)
#### Breaking changes
* (Dutchman) Breaking!!! Move current values to currentYear [#135](https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/135)
Expand All @@ -267,7 +272,7 @@ When the adapter crashes or an other Code error happens, this error message that
#### BugFixes
* (Dutchman) Bugfix : dev: 0 bug workaround
* (Dutchman) Do not round cumulated reading
* (Dutchman) Bugfix : Calculations for "previous" values
* (Dutchman) Bugfix : Calculations for "previous" values
* (Dutchman) Bugfix : Avoid calculation of non-Initialised states
* (Dutchman) Bugfix : Cannot read property 'stateDetails' of null
* (Dutchman) Correct error handling of "Watt" state initialisation
Expand Down
14 changes: 13 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"common": {
"name": "sourceanalytix",
"version": "0.4.8-alpha.9",
"version": "0.4.8-alpha.10",
"news": {
"0.4.8-alpha.10": {
"en": "Bugfix : Avoid loop if init value is set and > reading\nBugfix : Throw error if value is NULL for troubleshooting instead of handling incorrect calculation",
"de": "Bugfix: Schleife vermeiden, wenn Init-Wert gesetzt ist und> lesen\nBugfix: Fehler auslösen, wenn der Wert für die Fehlerbehebung NULL ist, anstatt falsche Berechnungen zu behandeln",
"ru": "Исправление: Избегайте цикла, если установлено значение инициализации и> чтение\nИсправление: выдавать ошибку, если значение NULL для устранения неполадок вместо обработки неправильного расчета",
"pt": "Correção de bug: Evite loop se o valor init estiver definido e> lendo\nCorreção de bug: lançar erro se o valor for NULL para solução de problemas em vez de lidar com cálculos incorretos",
"nl": "Bugfix: loop vermijden als init-waarde is ingesteld en> leest\nBugfix: Gooi-fout als de waarde NULL is voor probleemoplossing in plaats van onjuiste berekening af te handelen",
"fr": "Correction de bug: éviter la boucle si la valeur d'initialisation est définie et> lecture\nCorrection de bug: lancer une erreur si la valeur est NULL pour le dépannage au lieu de gérer un calcul incorrect",
"it": "Bugfix: Evita il loop se il valore di init è impostato e> reading\nBugfix: genera un errore se il valore è NULL per la risoluzione dei problemi invece di gestire calcoli errati",
"es": "Corrección de error: evitar el bucle si se establece el valor de inicio y> lectura\nCorrección de errores: arroja un error si el valor es NULO para solucionar problemas en lugar de manejar cálculos incorrectos",
"pl": "Bugfix: Unikaj pętli, jeśli ustawiono wartość init i> odczyt\nPoprawka: Zgłaszanie błędu, jeśli wartość jest równa NULL w celu rozwiązywania problemów zamiast obsługi nieprawidłowych obliczeń",
"zh-cn": "错误修正:如果设置了初始值并且>读取,请避免循环\n错误修正:如果值为NULL则抛出错误以进行故障排除,而不是处理错误的计算"
},
"0.4.8-alpha.9": {
"en": "#### Breaking changes\n* Breaking!!! Move current values to currentYear [#135](https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/135)\n* MajorChange !: Replaced **Current_Reading** with **CumulativeReading** [226](https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/226)\n\n#### New Features\n* Code cleanup\n* Add back \"currentYear\"\n* (debug) Logging improved\n* Weekly reset of weekdays\n* Calculation for all states\n* Calculation for previous states [#242](https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/242)\n* Optimized error reporting (Sentry)\n* Removed unneeded settings in configuration\n* Implemented new configuration for \"currentYear\"\n* implement \"05_currentYear\" in year root folder [#280](https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/280)\n* implement cached memory slot for initialisation value [#226](https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/226)\n* Implement log messages if state attributes are changed\n* Implement automatically detection of currency from admin settings [#247](https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/247)\n\n#### BugFixes\n* Bugfix : dev: 0 bug workaround\n* Do not round cumulated reading\n* Bugfix : Calculations for \"previous\" values\n* Bugfix : Avoid calculation of non-Initialised states\n* Bugfix : Cannot read property 'stateDetails' of null\n* Correct error handling of \"Watt\" state initialisation\n* Bugfix : Rebuild calculation logic which solves :\n * Watt values : Ensure proper reading start (0 instead of current watt value)\n Watt values : Ensure proper reading calculation with exponent (0 instead of current watt value) [#281](https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/281)\n * All calculations : correct handling of device reset (if value is reset or 0)",
"de": "#### Änderungen brechen\n* Brechen !!! Verschieben Sie die aktuellen Werte nach currentYear [# 135] (https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/135).\n* MajorChange !: Ersetzt **Current_Reading** durch **CumulativeReading** [226] (https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/226) \n\n#### Neue Eigenschaften\n* Codebereinigung\n* Addiere \"currentYear\" zurück\n* (Debug) Protokollierung verbessert\n* Wöchentliches Zurücksetzen von Wochentagen\n* Berechnung für alle Staaten\n* Berechnung für frühere Zustände [# 242] (https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/242)\n* Optimierte Fehlerberichterstattung (Sentry)\n* Nicht benötigte Einstellungen in der Konfiguration entfernt\n* Neue Konfiguration für \"currentYear\" implementiert\n* Implementieren Sie \"05_currentYear\" im Stammordner des Jahres [# 280] (https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/280).\n* Implementieren eines zwischengespeicherten Speichersteckplatzes für den Initialisierungswert [# 226] (https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/226)\n* Implementieren Sie Protokollnachrichten, wenn Statusattribute geändert werden\n* Implementieren Sie die automatische Erkennung der Währung aus den Administratoreinstellungen [# 247] (https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/247).\n\n#### Fehlerbehebung\n* Bugfix: dev: 0 Fehlerumgehung\n* Runden Sie den kumulierten Messwert nicht ab\n* Bugfix: Berechnungen für \"vorherige\" Werte\n* Bugfix: Vermeiden Sie die Berechnung nicht initialisierter Zustände\n* Bugfix: Die Eigenschaft 'stateDetails' von null kann nicht gelesen werden\n* Korrekte Fehlerbehandlung bei der Initialisierung des \"Watt\" -Zustands\n* Bugfix: Berechnungslogik neu erstellen, die löst:\n * Wattwerte: Stellen Sie einen korrekten Lesestart sicher (0 anstelle des aktuellen Wattwerts)\n Wattwerte: Stellen Sie eine korrekte Leseberechnung mit Exponent sicher (0 anstelle des aktuellen Wattwerts) [# 281] (https://github.com/iobroker-community-adapters/ioBroker.sourceanalytix/issues/281).\n * Alle Berechnungen: korrekte Behandlung des Zurücksetzens des Geräts (wenn der Wert zurückgesetzt wird oder 0)",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.sourceanalytix",
"version": "0.4.8-alpha.9",
"version": "0.4.8-alpha.10",
"description": "SourceAnalytix",
"author": {
"name": "DutchmanNL",
Expand Down

0 comments on commit b5a317f

Please sign in to comment.