hoffmation-base 3.2.16 → 3.2.18
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.
|
@@ -145,7 +145,8 @@ class Dachs extends RoomBaseDevice_1.RoomBaseDevice {
|
|
|
145
145
|
if (!c.on ||
|
|
146
146
|
!this.warmWaterPump ||
|
|
147
147
|
(this.queuedValue === false && !this._dachsOn) ||
|
|
148
|
-
this.heatStorageTempSensor.temperatureSensor.temperature < this.warmWaterSensor.temperatureSensor.temperature
|
|
148
|
+
this.heatStorageTempSensor.temperatureSensor.temperature < this.warmWaterSensor.temperatureSensor.temperature ||
|
|
149
|
+
this.warmWaterSensor.temperatureSensor.temperature > 70) {
|
|
149
150
|
return;
|
|
150
151
|
}
|
|
151
152
|
const startPumpCommand = new command_1.ActuatorSetStateCommand(c, true, 'Dachs is starting/on');
|
|
@@ -203,8 +204,8 @@ class Dachs extends RoomBaseDevice_1.RoomBaseDevice {
|
|
|
203
204
|
if (!shouldDachsBeStarted) {
|
|
204
205
|
return;
|
|
205
206
|
}
|
|
206
|
-
const setStateCommand = new command_1.ActuatorSetStateCommand(action, true, 'Energy Level of battery dropped to critical level',
|
|
207
|
-
setStateCommand.overrideCommandSource = enums_1.CommandSource.
|
|
207
|
+
const setStateCommand = new command_1.ActuatorSetStateCommand(action, true, 'Energy Level of battery dropped to critical level', new command_1.BlockAutomaticCommand(action, 5 * 60 * 1000, 'Dachs is starting/on', enums_1.CollisionSolving.overrideIfGreater, false));
|
|
208
|
+
setStateCommand.overrideCommandSource = enums_1.CommandSource.Automatic;
|
|
208
209
|
this.setActuator(setStateCommand);
|
|
209
210
|
}
|
|
210
211
|
onHeatStorageTempChange(action) {
|
|
@@ -352,7 +353,7 @@ class Dachs extends RoomBaseDevice_1.RoomBaseDevice {
|
|
|
352
353
|
// It is not daylight but battery level is high enough
|
|
353
354
|
return false;
|
|
354
355
|
}
|
|
355
|
-
return
|
|
356
|
+
return !this.settings.blockAutomaticSettings;
|
|
356
357
|
}
|
|
357
358
|
checkAlternativeActuator(shouldDachsBeStarted, action) {
|
|
358
359
|
var _a, _b;
|