@riddix/hamh 2.1.0-alpha.616 → 2.1.0-alpha.618

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.
@@ -146780,7 +146780,7 @@ var init_bridge_config_schema = __esm({
146780
146780
  },
146781
146781
  autoComposedDevices: {
146782
146782
  title: "Auto Composed Devices",
146783
- description: "Master toggle: automatically combine related entities from the same Home Assistant device into single Matter endpoints. Enables battery, humidity, pressure, power, and energy auto-mapping at once. This provides a cleaner device experience in Matter controllers (e.g., a Shelly Plug appears as one device with power monitoring).",
146783
+ description: "Master toggle: combine related entities from the same Home Assistant device into a single Matter endpoint. Turns on battery, humidity, pressure, power, and energy auto-mapping at once \u2014 a Shelly Plug shows up as one device with power monitoring instead of several siblings.",
146784
146784
  type: "boolean",
146785
146785
  default: false
146786
146786
  },
@@ -150375,9 +150375,7 @@ var PluginInstaller = class {
150375
150375
  return;
150376
150376
  }
150377
150377
  const version = this.getInstalledVersion(packageName);
150378
- logger143.info(
150379
- `Successfully installed ${packageName}@${version || "unknown"}`
150380
- );
150378
+ logger143.info(`Installed ${packageName}@${version || "unknown"}`);
150381
150379
  resolve6({
150382
150380
  success: true,
150383
150381
  packageName,
@@ -150417,7 +150415,7 @@ var PluginInstaller = class {
150417
150415
  });
150418
150416
  return;
150419
150417
  }
150420
- logger143.info(`Successfully uninstalled ${packageName}`);
150418
+ logger143.info(`Uninstalled ${packageName}`);
150421
150419
  resolve6({ success: true, packageName });
150422
150420
  }
150423
150421
  );
@@ -168899,12 +168897,10 @@ var LevelControlServerBase = class extends FeaturedBase4 {
168899
168897
  this.state.maxLevel = 254;
168900
168898
  }
168901
168899
  this.state.onLevel = null;
168902
- logger169.debug(`initialize: calling super.initialize()`);
168903
168900
  try {
168904
168901
  await super.initialize();
168905
- logger169.debug(`initialize: super.initialize() completed successfully`);
168906
168902
  } catch (error) {
168907
- logger169.error(`initialize: super.initialize() FAILED:`, error);
168903
+ logger169.error("super.initialize() failed:", error);
168908
168904
  throw error;
168909
168905
  }
168910
168906
  const homeAssistant = await this.agent.load(HomeAssistantEntityBehavior);
@@ -169569,7 +169565,10 @@ var fanControlConfig = {
169569
169565
  );
169570
169566
  },
169571
169567
  turnOff: () => ({ action: "fan.turn_off" }),
169572
- turnOn: (percentage) => ({ action: "fan.turn_on", data: { percentage } }),
169568
+ turnOn: (percentage) => ({
169569
+ action: "fan.set_percentage",
169570
+ data: { percentage }
169571
+ }),
169573
169572
  setAutoMode: () => ({ action: "fan.turn_on", data: { preset_mode: "Auto" } }),
169574
169573
  setAirflowDirection: (direction) => ({
169575
169574
  action: "fan.set_direction",
@@ -171153,8 +171152,8 @@ async function thermostatPostInitialize(self) {
171153
171152
  }
171154
171153
  var ThermostatServerBase = class extends FullFeaturedBase {
171155
171154
  // State class only declares the config property type.
171156
- // ALL defaults are set via .set() in the ThermostatServer function below.
171157
- // This ensures Matter.js's internal cluster data store receives the values.
171155
+ // ALL defaults are set via .set() in the ThermostatServer function below
171156
+ // so matter.js's internal cluster data store picks them up before init.
171158
171157
  static State = class State extends FullFeaturedBase.State {
171159
171158
  config;
171160
171159
  };
@@ -176920,7 +176919,7 @@ var RvcRunModeServerBase = class extends RvcRunModeServer {
176920
176919
  this.state.currentMode = newMode;
176921
176920
  return {
176922
176921
  status: ModeBase3.ModeChangeStatus.Success,
176923
- statusText: "Successfully switched mode"
176922
+ statusText: "Mode switched"
176924
176923
  };
176925
176924
  }
176926
176925
  };
@@ -180726,10 +180725,10 @@ var BridgeRegistry = class _BridgeRegistry {
180726
180725
  /**
180727
180726
  * Check if auto composed devices mode is enabled.
180728
180727
  * When enabled, temperature sensors with auto-mapped humidity/pressure/battery
180729
- * create real Matter Composed Devices (BridgedNodeEndpoint with sub-endpoints)
180730
- * instead of adding extra clusters to a flat TemperatureSensor endpoint.
180731
- * This ensures Apple Home, Google Home, and Alexa properly display
180732
- * humidity and pressure readings using their correct device types.
180728
+ * build real Matter Composed Devices (BridgedNodeEndpoint with sub-endpoints)
180729
+ * rather than stacking extra clusters onto a flat TemperatureSensor
180730
+ * Apple Home, Google Home, and Alexa render each sub-endpoint using its
180731
+ * own device type.
180733
180732
  */
180734
180733
  isAutoComposedDevicesEnabled() {
180735
180734
  return this.dataProvider.featureFlags?.autoComposedDevices === true;
@@ -181418,7 +181417,7 @@ var ServerModeBridge = class {
181418
181417
  this.wireSessionDiagnostics();
181419
181418
  this.scheduleWarmStart();
181420
181419
  logMemoryUsage(this.log, "server mode bridge running");
181421
- this.log.info("Server mode bridge started successfully");
181420
+ this.log.info("Server mode bridge started");
181422
181421
  diagnosticEventBus.emit("bridge_started", "Server mode bridge started", {
181423
181422
  bridgeId: this.id,
181424
181423
  bridgeName: this.dataProvider.name