hoffmation-base 3.0.0-alpha.57 → 3.0.0-alpha.58
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.
|
@@ -5,7 +5,7 @@ const baseAction_1 = require("./baseAction");
|
|
|
5
5
|
const command_1 = require("../command");
|
|
6
6
|
class BatteryLevelChangeAction extends baseAction_1.BaseAction {
|
|
7
7
|
constructor(device) {
|
|
8
|
-
super(undefined, `New Battery Level received`);
|
|
8
|
+
super(undefined, `New Battery Level (${device.battery}%) received`);
|
|
9
9
|
/** @inheritDoc */
|
|
10
10
|
this.type = command_1.CommandType.BatteryManagerLevelChangeAction;
|
|
11
11
|
this.newLevel = device.battery;
|
|
@@ -255,7 +255,6 @@ class Dachs {
|
|
|
255
255
|
return;
|
|
256
256
|
}
|
|
257
257
|
const setAction = new models_1.ActuatorSetStateCommand(action, desiredState, reason, null);
|
|
258
|
-
setAction.overrideCommandSource = models_1.CommandSource.Force;
|
|
259
258
|
this.warmWaterPump.setActuator(setAction);
|
|
260
259
|
}
|
|
261
260
|
}
|