@riddix/hamh 2.1.0-alpha.378 → 2.1.0-alpha.380

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.
@@ -174002,7 +174002,8 @@ var LegacyEndpoint = class _LegacyEndpoint extends EntityEndpoint {
174002
174002
  effectiveMapping.cleaningModeEntity
174003
174003
  );
174004
174004
  cleaningModeOptions = cmState?.attributes?.options;
174005
- } else if (supportsCleaningModes(state.attributes)) {
174005
+ }
174006
+ if (!cleaningModeOptions && (effectiveMapping?.cleaningModeEntity || supportsCleaningModes(state.attributes))) {
174006
174007
  cleaningModeOptions = [
174007
174008
  "vacuum",
174008
174009
  "mop",
@@ -175513,7 +175514,8 @@ var ServerModeVacuumEndpoint = class _ServerModeVacuumEndpoint extends EntityEnd
175513
175514
  effectiveMapping.cleaningModeEntity
175514
175515
  );
175515
175516
  cleaningModeOptions = cmState?.attributes?.options;
175516
- } else if (supportsCleaningModes(vacAttrsForClean)) {
175517
+ }
175518
+ if (!cleaningModeOptions && (effectiveMapping?.cleaningModeEntity || supportsCleaningModes(vacAttrsForClean))) {
175517
175519
  cleaningModeOptions = [
175518
175520
  "vacuum",
175519
175521
  "mop",