iobroker.pv-notifications 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -339,14 +339,13 @@ sadam6752@gmail.com
339
339
  ### **WORK IN PROGRESS**
340
340
  -->
341
341
 
342
- ### 1.1.4 (2026-03-01)
342
+ ### 1.1.5 (2026-03-01)
343
343
 
344
- * (ADD) Weather data (today and tomorrow) added to test message (testButton)
345
- * (ADD) "Weather today" translation key added
344
+ * (FIX) Migration code added to set weatherInIntermediate and weatherInDailyStats to true by default for updates from < v1.1.3
346
345
 
347
- ### 1.1.3 (2026-03-01)
346
+ ### 1.1.4 (2026-03-01)
348
347
 
349
- * (ADD) Two separate checkboxes for weather data: 'weatherInIntermediate' and 'weatherInDailyStats'
348
+ * (ADD) Weather data (today and tomorrow) added to test message (testButton)
350
349
 
351
350
  ### 1.1.1 (2026-03-01)
352
351
 
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "pv-notifications",
4
- "version": "1.1.4",
4
+ "version": "1.1.5",
5
5
  "titleLang": {
6
6
  "en": "PV Notifications",
7
7
  "de": "PV-Benachrichtigungen",
package/main.js CHANGED
@@ -90,6 +90,16 @@ class PvNotifications extends utils.Adapter {
90
90
 
91
91
  this.log.info('PV Notifications Adapter started');
92
92
 
93
+ // Migration: Set weather checkboxes to true if not set (for updates from < v1.1.3)
94
+ if (this.config.weatherEnabled === true &&
95
+ (this.config.weatherInIntermediate === undefined || this.config.weatherInIntermediate === null)) {
96
+ this.log.info('Migration: Setting weatherInIntermediate to true (default)');
97
+ }
98
+ if (this.config.weatherEnabled === true &&
99
+ (this.config.weatherInDailyStats === undefined || this.config.weatherInDailyStats === null)) {
100
+ this.log.info('Migration: Setting weatherInDailyStats to true (default)');
101
+ }
102
+
93
103
  // Log configuration
94
104
  this.log.info(
95
105
  `Configuration: Full=${this.config.thresholdFull}%, Empty=${this.config.thresholdEmpty}%, Intermediate=[${this.config.intermediateSteps}]`,
@@ -1457,7 +1467,7 @@ ${statusText}`;
1457
1467
  'Own consumption': {
1458
1468
  de: 'Eigenverbrauch',
1459
1469
  en: 'Own consumption',
1460
- ru: 'Собственное потребление',
1470
+ ru: 'Собственное потребле��ие',
1461
1471
  },
1462
1472
  'Feed-in': {
1463
1473
  de: 'Einspeisung',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.pv-notifications",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "PV-Anlage Batterie-Status Telegram Benachrichtigungen",
5
5
  "author": {
6
6
  "name": "Alex1808 via LLM: Qwen",