hoffmation-base 3.1.0 → 3.1.2

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/lib/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './command';
8
8
  export * from './interfaces';
9
9
  export * from './settings-service';
10
10
  export * from './ioBroker';
11
+ export * from './i18n';
11
12
  export * from './models';
12
13
  export * from './logging';
13
14
  export * from './server';
package/lib/index.js CHANGED
@@ -31,6 +31,7 @@ __exportStar(require("./command"), exports);
31
31
  __exportStar(require("./interfaces"), exports);
32
32
  __exportStar(require("./settings-service"), exports);
33
33
  __exportStar(require("./ioBroker"), exports);
34
+ __exportStar(require("./i18n"), exports);
34
35
  __exportStar(require("./models"), exports);
35
36
  __exportStar(require("./logging"), exports);
36
37
  __exportStar(require("./server"), exports);
@@ -1,6 +1,6 @@
1
1
  import { iAsusConfig } from './iAsusConfig';
2
2
  import { iBlockAutomaticHandlerDefaults } from './iBlockAutomaticHandlerDefaults';
3
- import { iBlueIrisSettings, iDachsSettings, iDaikinSettings, iEnergyManagerSettings, iEspresenseSettings, iGoveeSettings, iHeaterSettings, iMp3Settings, iMuellSettings, iNewsSettings, iPersistenceSettings, iPollySettings, iRestSettings, iRoomDefaultSettings, iSonosSettings, iTelegramSettings, iTibberSettings, iTimeSettings, iTranslationSettings, iUnifiSettings, iVictronSettings, iWeatherSettings } from './settings';
3
+ import { iBlueIrisSettings, iDachsSettings, iDaikinSettings, iEnergyManagerSettings, iEspresenseSettings, iGlobalHeaterSettings, iGoveeSettings, iMp3Settings, iMuellSettings, iNewsSettings, iPersistenceSettings, iPollySettings, iRestSettings, iRoomDefaultSettings, iSonosSettings, iTelegramSettings, iTibberSettings, iTimeSettings, iTranslationSettings, iUnifiSettings, iVictronSettings, iWeatherSettings } from './settings';
4
4
  import { iIobrokerSettigns } from './iIobrokerSettigns';
5
5
  import { iLogSettings } from './iLogSettings';
6
6
  /**
@@ -42,7 +42,7 @@ export interface iConfig {
42
42
  /**
43
43
  * @see iHeaterSettings
44
44
  */
45
- heaterSettings?: iHeaterSettings;
45
+ heaterSettings?: iGlobalHeaterSettings;
46
46
  /**
47
47
  * The URL to the ioBroker instance.
48
48
  * @deprecated Please use the ioBroker property instead
@@ -0,0 +1,17 @@
1
+ import { HeatingMode } from '../../enums';
2
+ /**
3
+ *
4
+ */
5
+ export interface iGlobalHeaterSettings {
6
+ /**
7
+ * Whether heating with ac is allowed
8
+ * This normally depends on the cost difference between ac heating and conventional heating
9
+ */
10
+ allowAcHeating?: boolean;
11
+ /**
12
+ * The desired Heating mode of the house.
13
+ * As of today you have to manually switch between summer and winter.
14
+ * TODO: Add heating Mode change to persisted settings and allow controlling it via the app
15
+ */
16
+ mode?: HeatingMode;
17
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +1,8 @@
1
- import { HeatingMode } from '../../enums';
2
1
  import { iDeviceSettings } from '../deviceSettings';
3
2
  /**
4
3
  * Additional settings for the heating system (if present)
5
4
  */
6
5
  export interface iHeaterSettings extends iDeviceSettings {
7
- /**
8
- * Whether heating with ac is allowed
9
- * This normally depends on the cost difference between ac heating and conventional heating
10
- */
11
- allowAcHeating?: boolean;
12
- /**
13
- * The desired Heating mode of the house.
14
- * As of today you have to manually switch between summer and winter.
15
- * TODO: Add heating Mode change to persisted settings and allow controlling it via the app
16
- */
17
- mode?: HeatingMode;
18
6
  /**
19
7
  *
20
8
  */
@@ -30,3 +30,4 @@ export { iLedSettings } from './iLedSettings';
30
30
  export { iSceneSettings } from './iSceneSettings';
31
31
  export { iSettingsProvider } from './iSettingsProvider';
32
32
  export { iWledSettings } from './iWledSettings';
33
+ export { iGlobalHeaterSettings } from './iGlobalHeaterSettings';