homebridge-tasmota-control 1.4.0-beta.32 → 1.4.0-beta.33
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/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import switches from './src/switches.js';
|
|
|
6
6
|
import lights from './src/lights.js';
|
|
7
7
|
import fans from './src/fans.js';
|
|
8
8
|
import ImpulseGenerator from './src/impulsegenerator.js';
|
|
9
|
-
import { PluginName, PlatformName
|
|
9
|
+
import { PluginName, PlatformName } from './src/constants.js';
|
|
10
10
|
|
|
11
11
|
class tasmotaPlatform {
|
|
12
12
|
constructor(log, config, api) {
|
|
@@ -109,6 +109,7 @@ class tasmotaPlatform {
|
|
|
109
109
|
switch (info.deviceType) {
|
|
110
110
|
case 0://mielhvac
|
|
111
111
|
device = new mielhvac(api, deviceConfig, info, refreshInterval, defaultHeatingSetTemperatureFile, defaultCoolingSetTemperatureFile);
|
|
112
|
+
break;
|
|
112
113
|
case 1://switches
|
|
113
114
|
device = new switches(api, deviceConfig, info, refreshInterval);
|
|
114
115
|
break;
|
package/package.json
CHANGED