@riddix/hamh 2.1.0-alpha.400 → 2.1.0-alpha.401
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/dist/backend/cli.js
CHANGED
|
@@ -173021,14 +173021,14 @@ function RvcCleanModeServer2(config10, initialState) {
|
|
|
173021
173021
|
const defaultModes = [
|
|
173022
173022
|
{
|
|
173023
173023
|
label: "Vacuum",
|
|
173024
|
-
mode:
|
|
173024
|
+
mode: 0,
|
|
173025
173025
|
modeTags: [{ value: RvcCleanMode3.ModeTag.Vacuum }]
|
|
173026
173026
|
}
|
|
173027
173027
|
];
|
|
173028
173028
|
return RvcCleanModeServerBase.set({
|
|
173029
173029
|
config: config10,
|
|
173030
173030
|
supportedModes: initialState?.supportedModes ?? defaultModes,
|
|
173031
|
-
currentMode: initialState?.currentMode ??
|
|
173031
|
+
currentMode: initialState?.currentMode ?? 0
|
|
173032
173032
|
});
|
|
173033
173033
|
}
|
|
173034
173034
|
|
|
@@ -173624,7 +173624,16 @@ function createDefaultRvcCleanModeServer() {
|
|
|
173624
173624
|
],
|
|
173625
173625
|
setCleanMode: () => void 0
|
|
173626
173626
|
};
|
|
173627
|
-
return RvcCleanModeServer2(defaultConfig2
|
|
173627
|
+
return RvcCleanModeServer2(defaultConfig2, {
|
|
173628
|
+
supportedModes: [
|
|
173629
|
+
{
|
|
173630
|
+
label: "Vacuum",
|
|
173631
|
+
mode: MODE_VACUUM,
|
|
173632
|
+
modeTags: [{ value: RvcCleanMode3.ModeTag.Vacuum }]
|
|
173633
|
+
}
|
|
173634
|
+
],
|
|
173635
|
+
currentMode: MODE_VACUUM
|
|
173636
|
+
});
|
|
173628
173637
|
}
|
|
173629
173638
|
function supportsCleaningModes(attributes7) {
|
|
173630
173639
|
return isDreameVacuum(attributes7) || isEcovacsVacuum(attributes7);
|