homebridge-gsh 4.2.0-beta.7 → 4.2.0-beta.8

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
@@ -4,9 +4,20 @@ All notable changes to `homebridge-gsh` will be documented in this file. This pr
4
4
 
5
5
  ## v4.2.0 (Unreleased)
6
6
 
7
+ ### Breaking Changes
8
+
9
+ - Devices now only answer to their own name. Before, every part of an accessory also answered to the accessory's name, so a ceiling fan accessory called "West Bedroom" with a light and a fan meant "Turn on West Bedroom" could turn on the fan. Now only the light called "West Bedroom" responds, and the fan answers to "West Bedroom Fan". If you used an accessory's name to control several things at once (e.g. "Turn off Office Power Bar"), put them in a Google Home room or group instead. #104
10
+
7
11
  ### Changes
8
12
 
9
- - Doorbell support - doorbell presses are sent to Google Home as notifications (no video streaming).
13
+ - Doorbell support - doorbell presses are sent to Google Home as notifications (no video streaming). #103
14
+ - Fan speed control for fans #92
15
+
16
+ ### Fixes
17
+
18
+ - Fix voice commands controlling the wrong device on multi-service accessories (e.g. "Turn on West Bedroom" turning on the fan instead of the light). #104
19
+ - Fix child bridge crash on state reports for TV speakers and input sources #95, tks @jrundquist
20
+ - Dependency updates, including fast-uri security fix
10
21
 
11
22
  ## v4.1.0 (2026-08-23)
12
23
 
@@ -4,10 +4,7 @@ export class ghToHap {
4
4
  id: service.uniqueId,
5
5
  ...typeTraits,
6
6
  name: {
7
- defaultNames: [
8
- ...(service.serviceName ? [service.serviceName] : []),
9
- ...(service.accessoryInformation.Name ? [service.accessoryInformation.Name] : []),
10
- ],
7
+ defaultNames: [service.serviceName || service.accessoryInformation.Name].filter(Boolean),
11
8
  name: service.serviceName || service.accessoryInformation.Name || 'Missing Name',
12
9
  nicknames: [],
13
10
  },
@@ -1 +1 @@
1
- {"version":3,"file":"ghToHapTypes.js","sourceRoot":"","sources":["../../src/types/ghToHapTypes.ts"],"names":[],"mappings":"AAGA,MAAM,OAAgB,OAAO;IACjB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AI,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;gBACxF,IAAI,EAAE,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,oBAAoB,CAAC,IAAI,IAAI,cAAc;gBAChF,SAAS,EAAE,EAAE;aACd;YACD,eAAe,EAAE,IAAI;YACrB,UAAU,EAAE;gBACV,YAAY,EAAE,OAAO,CAAC,oBAAoB,CAAC,YAAY;gBACvD,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK;aAC1C;YACD,UAAU,EAAE;gBACV,GAAG,EAAE,OAAO,CAAC,GAAG;gBAChB,GAAG,EAAE,OAAO,CAAC,GAAG;gBAChB,gBAAgB,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAC3C,iBAAiB,EAAE,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAC7C,YAAY,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;aACpC;SACF,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "homebridge-gsh",
3
3
  "displayName": "Homebridge Google Smart Home",
4
4
  "type": "module",
5
- "version": "4.2.0-beta.7",
5
+ "version": "4.2.0-beta.8",
6
6
  "description": "Google Smart Home",
7
7
  "homepage": "https://github.com/homebridge-plugins/homebridge-gsh/blob/latest/README.md",
8
8
  "license": "GPL-3.0",