iobroker.tidy 0.1.6 → 0.1.7

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
@@ -174,6 +174,10 @@ If you like our work and would like to support us, we appreciate any donation.
174
174
  <!--
175
175
  ### **WORK IN PROGRESS**
176
176
  -->
177
+ ### 0.1.7 (2026-06-07)
178
+ - (skvarel) Migrated project rules from GitHub Copilot to Cursor rules
179
+ - (skvarel) Fixed adapter checker warning for automatic scan interval
180
+
177
181
  ### 0.1.6 (2026-05-31)
178
182
  - (skvarel) Fixed scan when path name is left empty (result states now use path as fallback)
179
183
  - (skvarel) Added default for scan-all-objects option in adapter configuration
@@ -192,10 +196,6 @@ If you like our work and would like to support us, we appreciate any donation.
192
196
  ### 0.1.3 (2026-05-24)
193
197
  - (skvarel) Fixed repo checker issue
194
198
 
195
- ### 0.1.1 (2026-04-18)
196
- - (skvarel) Changed name of result field to optional
197
- - (skvarel) Revised config
198
-
199
199
  ## Older changes
200
200
  - [CHANGELOG_OLD.md](CHANGELOG_OLD.md)
201
201
 
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "tidy",
4
- "version": "0.1.6",
4
+ "version": "0.1.7",
5
5
  "news": {
6
+ "0.1.7": {
7
+ "en": "Migrated project rules from GitHub Copilot to Cursor rules\nFixed adapter checker warning for automatic scan interval",
8
+ "de": "Geförderte Projektregeln von GitHub Copilot zu Cursor-Regeln\nFeste Adapter-Checker-Warnung für automatisches Scanintervall",
9
+ "ru": "Миграционные правила проекта от GitHub Copilot до Cursor\nПредупреждение о проверке адаптера для автоматического интервала сканирования",
10
+ "pt": "Regras de projeto modificadas do Copiloto GitHub para as regras do Cursor\nAviso de verificação fixa do adaptador para intervalo de varredura automática",
11
+ "nl": "Migrated project regels van GitHub Copilot naar Cursor regels\nWaarschuwing voor vaste adaptercontrole voor automatisch scaninterval",
12
+ "fr": "Règles de projet modifiées du copilote GitHub aux règles Cursor\nAvertissement de vérification de l'adaptateur fixe pour l'intervalle de balayage automatique",
13
+ "it": "Regole di progetto migrate da GitHub Copilot a regole Cursor\nAvvertenza a scacchi per adattatore fisso per intervallo di scansione automatico",
14
+ "es": "Migrated project rules from GitHub Copilot to Cursor rules\nAviso de control de adaptador fijo para intervalo de escaneo automático",
15
+ "pl": "Migrowane zasady projektu z GitHub Copilot do zasad kursora\nOstrzeżenie dotyczące automatycznego skanowania",
16
+ "uk": "Миттєві правила проекту від GitHub Copilot до правил Cursor\nВиправлено попередження перевірки адаптера для автоматичного інтервалу сканування",
17
+ "zh-cn": "从 GitHub 副驾驶到光标规则\n自动扫描间隔的固定适配器检查器警告"
18
+ },
6
19
  "0.1.6": {
7
20
  "en": "Fixed scan when path name is left empty (result states now use path as fallback)\nAdded default for scan-all-objects option in adapter configuration\nFixed incorrect link to Cursor project rules in README\nUnified issue tracker URL to inventwo repository\nFixed type-check script for local development\nDocumented complete scan feature in README",
8
21
  "de": "Behobener Scan, wenn der Pfadname leer gelassen wird (Ergebnisse Zustände verwenden nun Pfad als Fallback)\nStandard für Scan-all-Objekte Option in Adapterkonfiguration hinzugefügt\nFehlerhafte Verknüpfung mit Cursor-Projektregeln in README behoben\nUnified Ausgabe Tracker URL zu erfindenwo Repository\nFixed Type-Check-Skript für lokale Entwicklung\nDokumentierte vollständige Scan-Funktion in README",
@@ -80,19 +93,6 @@
80
93
  "pl": "Dodano opcję do pełnego skanowania",
81
94
  "uk": "Додано варіант для повного сканування",
82
95
  "zh-cn": "添加完整扫描选项"
83
- },
84
- "0.0.1": {
85
- "en": "initial release",
86
- "de": "Erstveröffentlichung",
87
- "ru": "Начальная версия",
88
- "pt": "lançamento inicial",
89
- "nl": "Eerste uitgave",
90
- "fr": "Première version",
91
- "it": "Versione iniziale",
92
- "es": "Versión inicial",
93
- "pl": "Pierwsze wydanie",
94
- "uk": "Початкова версія",
95
- "zh-cn": "首次出版"
96
96
  }
97
97
  },
98
98
  "titleLang": {
package/main.js CHANGED
@@ -59,7 +59,7 @@ class Tidy extends utils.Adapter {
59
59
  if (this.config.autoScan && this.config.scanInterval > 0) {
60
60
  const intervalMs = this.config.scanInterval * 60 * 60 * 1000; // Convert hours to milliseconds
61
61
  this.log.info(`Automatic scanning enabled: Every ${this.config.scanInterval} hour(s)`);
62
- this.scanInterval = setInterval(async () => {
62
+ this.scanInterval = this.setInterval(async () => {
63
63
  this.log.info('Running automatic scan...');
64
64
  await this.scanAllPaths();
65
65
  if (this.config.scanAllObjects) {
@@ -231,7 +231,7 @@ class Tidy extends utils.Adapter {
231
231
  try {
232
232
  // Clear automatic scan interval
233
233
  if (this.scanInterval) {
234
- clearInterval(this.scanInterval);
234
+ this.clearInterval(this.scanInterval);
235
235
  this.scanInterval = undefined;
236
236
  }
237
237
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.tidy",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Analyzes ioBroker objects for unused datapoints and helps you clean up your instance",
5
5
  "author": {
6
6
  "name": "skvarel",
@@ -31,7 +31,7 @@
31
31
  "@iobroker/adapter-core": "^3.3.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@alcalzone/release-script": "^5.2.0",
34
+ "@alcalzone/release-script": "^5.2.1",
35
35
  "@alcalzone/release-script-plugin-iobroker": "^5.2.0",
36
36
  "@alcalzone/release-script-plugin-license": "^5.2.0",
37
37
  "@alcalzone/release-script-plugin-manual-review": "^5.2.0",