@riddix/hamh 2.1.0-alpha.442 → 2.1.0-alpha.443

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.
@@ -146694,7 +146694,7 @@ var init_bridge_config_schema = __esm({
146694
146694
  title: "Auto Humidity Mapping",
146695
146695
  description: "Automatically combine humidity sensors with temperature sensors from the same Home Assistant device. When enabled, humidity sensors will be merged into temperature sensors to create combined TemperatureHumiditySensor devices.",
146696
146696
  type: "boolean",
146697
- default: false
146697
+ default: true
146698
146698
  },
146699
146699
  autoPressureMapping: {
146700
146700
  title: "Auto Pressure Mapping",
@@ -175462,15 +175462,15 @@ var BridgeRegistry = class _BridgeRegistry {
175462
175462
  }
175463
175463
  /**
175464
175464
  * Check if auto humidity mapping is enabled for this bridge.
175465
- * Default: false (disabled by default, user must explicitly enable).
175465
+ * Default: true (enabled by default).
175466
175466
  * When enabled, humidity sensors on the same device as a temperature sensor
175467
175467
  * are combined into a single TemperatureHumiditySensor endpoint.
175468
175468
  * Note: Apple Home does not display humidity on TemperatureSensorDevice
175469
- * endpoints, so users on Apple Home should keep this disabled.
175469
+ * endpoints, so users on Apple Home should explicitly disable this.
175470
175470
  * See: https://github.com/RiDDiX/home-assistant-matter-hub/issues/133
175471
175471
  */
175472
175472
  isAutoHumidityMappingEnabled() {
175473
- return this.dataProvider.featureFlags?.autoHumidityMapping === true || this.dataProvider.featureFlags?.autoComposedDevices === true;
175473
+ return this.dataProvider.featureFlags?.autoHumidityMapping !== false || this.dataProvider.featureFlags?.autoComposedDevices === true;
175474
175474
  }
175475
175475
  /**
175476
175476
  * Find a humidity sensor entity that belongs to the same HA device.