@homebridge-plugins/homebridge-tado 8.3.0-beta.2 → 8.3.0-beta.3
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/CHANGELOG.md
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
## v8.3.0 - 2025-10-25
|
|
4
4
|
- Add tado API counter
|
|
5
5
|
- Improve task scheduling and interval handling
|
|
6
|
-
- Refresh
|
|
7
|
-
- Add option to disable
|
|
6
|
+
- Refresh history service directly after polling
|
|
7
|
+
- Add option to disable the history service
|
|
8
8
|
- Persist tado zone states to storage directory after every polling
|
|
9
9
|
|
|
10
10
|
## v8.2.0 - 2025-10-23
|
package/config.schema.json
CHANGED
|
@@ -564,10 +564,10 @@
|
|
|
564
564
|
"type": "boolean",
|
|
565
565
|
"description": "Optional: Skip authentication for tado api."
|
|
566
566
|
},
|
|
567
|
-
"
|
|
568
|
-
"title": "Disable
|
|
567
|
+
"disableHistoryService": {
|
|
568
|
+
"title": "Disable History Service",
|
|
569
569
|
"type": "boolean",
|
|
570
|
-
"description": "Optional: Skip creation of
|
|
570
|
+
"description": "Optional: Skip creation of history service."
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
},
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
"debug",
|
|
577
577
|
"tadoApiUrl",
|
|
578
578
|
"skipAuth",
|
|
579
|
-
"
|
|
579
|
+
"disableHistoryService",
|
|
580
580
|
{
|
|
581
581
|
"key": "homes",
|
|
582
582
|
"type": "array",
|
|
@@ -134,7 +134,7 @@ async function createCustomSchema(home) {
|
|
|
134
134
|
debug: pluginConfig[0].debug,
|
|
135
135
|
tadoApiUrl: pluginConfig[0].tadoApiUrl,
|
|
136
136
|
skipAuth: pluginConfig[0].skipAuth,
|
|
137
|
-
|
|
137
|
+
disableHistoryService: pluginConfig[0].disableHistoryService,
|
|
138
138
|
homes: home
|
|
139
139
|
});
|
|
140
140
|
|
|
@@ -144,7 +144,7 @@ async function createCustomSchema(home) {
|
|
|
144
144
|
pluginConfig[0].debug = config.debug;
|
|
145
145
|
pluginConfig[0].tadoApiUrl = config.tadoApiUrl;
|
|
146
146
|
pluginConfig[0].skipAuth = config.skipAuth;
|
|
147
|
-
pluginConfig[0].
|
|
147
|
+
pluginConfig[0].disableHistoryService = config.disableHistoryService;
|
|
148
148
|
pluginConfig[0].homes = pluginConfig[0].homes.map(myHome => {
|
|
149
149
|
if (myHome.name === config.homes.name) {
|
|
150
150
|
myHome = config.homes;
|
|
@@ -287,7 +287,7 @@ async function removeDeviceFromConfig(name) {
|
|
|
287
287
|
delete pluginConfig[0].debug;
|
|
288
288
|
delete pluginConfig[0].tadoApiUrl;
|
|
289
289
|
delete pluginConfig[0].skipAuth;
|
|
290
|
-
delete pluginConfig[0].
|
|
290
|
+
delete pluginConfig[0].disableHistoryService;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
await homebridge.updatePluginConfig(pluginConfig);
|
|
@@ -556,10 +556,10 @@ const schema = {
|
|
|
556
556
|
'type': 'boolean',
|
|
557
557
|
'description': 'Optional: Skip authentication for tado api.'
|
|
558
558
|
},
|
|
559
|
-
'
|
|
560
|
-
'title': 'Disable
|
|
559
|
+
'disableHistoryService': {
|
|
560
|
+
'title': 'Disable History Service',
|
|
561
561
|
'type': 'boolean',
|
|
562
|
-
'description': 'Optional: Skip creation of
|
|
562
|
+
'description': 'Optional: Skip creation of history service.'
|
|
563
563
|
}
|
|
564
564
|
},
|
|
565
565
|
'layout': [
|
|
@@ -567,7 +567,7 @@ const schema = {
|
|
|
567
567
|
'debug',
|
|
568
568
|
'tadoApiUrl',
|
|
569
569
|
'skipAuth',
|
|
570
|
-
'
|
|
570
|
+
'disableHistoryService',
|
|
571
571
|
'homes.name',
|
|
572
572
|
'homes.polling',
|
|
573
573
|
'homes.temperatureUnit',
|
package/package.json
CHANGED
package/src/platform.js
CHANGED
|
@@ -41,7 +41,7 @@ class TadoPlatform {
|
|
|
41
41
|
Logger.init(log, config.debug);
|
|
42
42
|
CustomTypes.registerWith(api.hap);
|
|
43
43
|
EveTypes.registerWith(api.hap);
|
|
44
|
-
FakeGatoHistoryService = config.
|
|
44
|
+
FakeGatoHistoryService = config.disableHistoryService ? undefined : fakeGatoHistory(api);
|
|
45
45
|
|
|
46
46
|
this.api = api;
|
|
47
47
|
this.accessories = [];
|