@homebridge-plugins/homebridge-meross 10.13.0 → 10.13.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to `@homebridge-plugins/homebridge-meross` will be documented in this file.
4
4
 
5
+ ## v10.13.1 (2026-04-06)
6
+
7
+ ### Fixed
8
+
9
+ - fix: 'default' connection resolved as unknown
10
+
5
11
  ## v10.13.0 (2026-04-05)
6
12
 
7
13
  ### Added
package/lib/platform.js CHANGED
@@ -510,12 +510,14 @@ export default class {
510
510
  device.model = device.deviceType.toUpperCase().replace(/-+/g, '')
511
511
 
512
512
  // Add context information for the plugin-ui and instance to use
513
+ // Resolve 'default' connection to 'hybrid' so switch statements match correctly
514
+ const connSetting = deviceConf.connection || this.config.connection
513
515
  const context = {
514
516
  channel: 0,
515
517
  channelCount: device.channels.length,
516
518
  connection: deviceConf.deviceUrl
517
519
  ? 'local'
518
- : deviceConf.connection || this.config.connection,
520
+ : connSetting === 'default' ? 'hybrid' : connSetting,
519
521
  deviceUrl: deviceConf.deviceUrl,
520
522
  domain: device.domain,
521
523
  firmware: device.firmware,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@homebridge-plugins/homebridge-meross",
3
3
  "alias": "Meross",
4
4
  "type": "module",
5
- "version": "10.13.0",
5
+ "version": "10.13.1",
6
6
  "description": "Homebridge plugin to integrate Meross devices into HomeKit.",
7
7
  "author": {
8
8
  "name": "bwp91",