@homebridge-plugins/homebridge-govee 11.32.0-beta.21 → 11.32.0-beta.22

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
@@ -20,6 +20,7 @@ All notable changes to `@homebridge-plugins/homebridge-govee` will be documented
20
20
  - chore: log what each device can do according to the govee openapi, in debug mode, to make working out new device support quicker
21
21
  - chore: decode the status codes a device reports into readable hex in debug mode, so support for new device features can be worked out from a normal log
22
22
  - feat: add the H5089 night light as a homekit light tile with on, off and brightness (#1323)
23
+ - fix: send the H5089 night light commands as the newer ptIot type the plug listens for, instead of being silently ignored (#1323)
23
24
 
24
25
  ## v11.31.0 (2026-07-24)
25
26
 
@@ -142,7 +142,9 @@ export default class {
142
142
  // Keep the current level when toggling, so turning the light on does not
143
143
  // also change how bright it is
144
144
  await this.platform.sendDeviceUpdate(this.accessory, {
145
- cmd: 'ptReal',
145
+ // The H5089 acks app commands as `ptIot`, and ignores the older
146
+ // `ptReal` vehicle this code first shipped with (#1323)
147
+ cmd: 'ptIot',
146
148
  value: generateCodeFromHexValues([0x33, 0x1B, 0x01, value ? 0x01 : 0x00, this.cacheLightBright]),
147
149
  })
148
150
 
@@ -166,7 +168,7 @@ export default class {
166
168
  // Setting a level also turns the light on, matching how HomeKit sends
167
169
  // brightness changes alongside an on command
168
170
  await this.platform.sendDeviceUpdate(this.accessory, {
169
- cmd: 'ptReal',
171
+ cmd: 'ptIot',
170
172
  value: generateCodeFromHexValues([0x33, 0x1B, 0x01, 0x01, value]),
171
173
  })
172
174
 
@@ -142,7 +142,9 @@ export default class {
142
142
  // Keep the current level when toggling, so turning the light on does not
143
143
  // also change how bright it is
144
144
  await this.platform.sendDeviceUpdate(this.accessory, {
145
- cmd: 'ptReal',
145
+ // The H5089 acks app commands as `ptIot`, and ignores the older
146
+ // `ptReal` vehicle this code first shipped with (#1323)
147
+ cmd: 'ptIot',
146
148
  value: generateCodeFromHexValues([0x33, 0x1B, 0x01, value ? 0x01 : 0x00, this.cacheLightBright]),
147
149
  })
148
150
 
@@ -166,7 +168,7 @@ export default class {
166
168
  // Setting a level also turns the light on, matching how HomeKit sends
167
169
  // brightness changes alongside an on command
168
170
  await this.platform.sendDeviceUpdate(this.accessory, {
169
- cmd: 'ptReal',
171
+ cmd: 'ptIot',
170
172
  value: generateCodeFromHexValues([0x33, 0x1B, 0x01, 0x01, value]),
171
173
  })
172
174
 
@@ -21,6 +21,7 @@ export function buildCommand(params, context) {
21
21
  case 'stateHeat':
22
22
  return buildStateHeatCommand(params)
23
23
  case 'multiSync':
24
+ case 'ptIot':
24
25
  case 'ptReal':
25
26
  return buildPtRealCommand(params)
26
27
  case 'openApi':
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@homebridge-plugins/homebridge-govee",
3
3
  "alias": "Govee",
4
4
  "type": "module",
5
- "version": "11.32.0-beta.21",
5
+ "version": "11.32.0-beta.22",
6
6
  "description": "Homebridge plugin to integrate Govee devices into HomeKit.",
7
7
  "author": {
8
8
  "name": "bwp91",