@mega-yfue/eufy-sdk 0.6.0-beta.47 → 0.6.0-beta.48

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/index.js CHANGED
@@ -30978,7 +30978,7 @@ var EufyMega = class _EufyMega extends EventEmitter14 {
30978
30978
  return false;
30979
30979
  if (!device)
30980
30980
  return true;
30981
- device.applyParams(record.params ?? {});
30981
+ this.applyAndAnnounce(device, rawValue === void 0 ? {} : { [refresh.param]: String(rawValue) });
30982
30982
  return this.matchesObservation(device.getProperty(refresh.property)?.value, refresh, before);
30983
30983
  };
30984
30984
  if (refresh.expected !== void 0 && settled())