@homebridge-plugins/homebridge-govee 11.32.2-beta.24 → 11.32.2-beta.25

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
@@ -43,6 +43,7 @@ All notable changes to `@homebridge-plugins/homebridge-govee` will be documented
43
43
  - refactor: give every device one shared starting point, so the way a failed command is reported and undone is decided in one place rather than a hundred
44
44
  - feat: recognise eleven more meat thermometers, which report what they send so their readings can be worked out, and stop the one already known printing its whole update as a warning
45
45
  - feat: add the H5161 power strip and give the H7184 kitchen composter an on and off switch
46
+ - feat: recognise three more sensors, which report what they send, and say plainly in the log why a sensor has no tile yet
46
47
 
47
48
  ## v11.32.1 (2026-08-02)
48
49
 
@@ -1,4 +1,3 @@
1
- import platformLang from '../utils/lang-en.js'
2
1
  import { logUnknownData } from '../utils/report-unknown.js'
3
2
  import GoveeDevice from './base.js'
4
3
 
@@ -12,9 +11,8 @@ import GoveeDevice from './base.js'
12
11
  export default class GoveeSensorBasic extends GoveeDevice {
13
12
  constructor(platform, accessory) {
14
13
  super(platform, accessory)
15
- // Output the customised options to the log
16
- const opts = JSON.stringify({})
17
- platform.log('[%s] %s %s.', accessory.displayName, platformLang.devInitOpts, opts)
14
+ this.logInitOptions({})
15
+ this.accessory.log('this sensor\'s readings are not understood yet, so it has no tiles - the lines below are what is needed to add them')
18
16
  }
19
17
 
20
18
  externalUpdate(params) {
@@ -691,7 +691,10 @@ export default {
691
691
  diffuser: ['H7161', 'H7162'],
692
692
  iceMaker: ['H7172', 'H717D', 'H8102', 'H8120', 'H8121', 'H8122', 'H8131'],
693
693
  sensorButton: ['H5122'],
694
- sensorContact: ['H5123'],
694
+ sensorContact: ['H5023', 'H5123'],
695
+ // Sensors whose readings are not worked out yet, so they report what
696
+ // they send rather than showing a tile that never changes
697
+ sensorUnknown: ['H5026', 'H5130'],
695
698
  sensorPresence: ['H5127'],
696
699
  kettle: ['H7170', 'H7171', 'H7173', 'H7175', 'H717A'],
697
700
  template: [
@@ -58,6 +58,7 @@ const routes = [
58
58
  { list: 'diffuser', prefix: 'deviceDiffuser', fallback: 'deviceDiffuserBasic', awsPolling: true },
59
59
  { list: 'sensorButton', handler: 'deviceSensorButton' },
60
60
  { list: 'sensorContact', handler: 'deviceSensorContact' },
61
+ { list: 'sensorUnknown', handler: 'deviceSensorBasic' },
61
62
  { list: 'kettle', handler: 'deviceKettle' },
62
63
  { list: 'iceMaker', prefix: 'deviceIceMaker', fallback: 'deviceIceMakerBasic' },
63
64
  { list: 'template', handler: 'deviceTemplate' },
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.2-beta.24",
5
+ "version": "11.32.2-beta.25",
6
6
  "description": "Homebridge plugin to integrate Govee devices into HomeKit.",
7
7
  "author": {
8
8
  "name": "bwp91",