@homebridge-plugins/homebridge-govee 11.32.2-beta.15 → 11.32.2-beta.17

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
@@ -32,6 +32,10 @@ All notable changes to `@homebridge-plugins/homebridge-govee` will be documented
32
32
  - refactor: build the switch and outlet tiles of a multi-socket device from one handler instead of two copies of it
33
33
  - fix: move the H7152 dehumidifier's speed slider when it reports a new speed, which until now only the H7150 and H7151 did
34
34
  - refactor: point the H7101 and H7111 fans at the H7100 handler they matched command for command
35
+ - feat: give a diffuser model that has not been worked out yet the same starting handler the other appliances have, so it works for on and off
36
+ - refactor: choose a device handler from a table, so adding a device type no longer means editing the platform
37
+ - refactor: move the settings parsing into its own file, away from the code that talks to devices
38
+ - refactor: move the work of describing a device to its handler into its own file
35
39
 
36
40
  ## v11.32.1 (2026-08-02)
37
41
 
@@ -356,6 +356,16 @@ export const deviceDehumidifierBasic = makeBasicAppliance({
356
356
  currentStateOff: 0, // inactive
357
357
  })
358
358
 
359
+ // Diffusers are power only, so there is no variable control to offer. They use
360
+ // the same tile as the models already handled, so a new one looks the same
361
+ export const deviceDiffuserBasic = makeBasicAppliance({
362
+ family: 'diffuser',
363
+ service: 'AirPurifier',
364
+ currentStateChar: 'CurrentAirPurifierState',
365
+ currentStateOn: 2, // purifying air
366
+ currentStateOff: 0, // inactive
367
+ })
368
+
359
369
  export const devicePurifierBasic = makeBasicAppliance({
360
370
  family: 'purifier',
361
371
  service: 'AirPurifier',
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  deviceDehumidifierBasic,
3
+ deviceDiffuserBasic,
3
4
  deviceFanBasic,
4
5
  deviceHumidifierBasic,
5
6
  deviceIceMakerBasic,
@@ -55,6 +56,7 @@ export default {
55
56
  deviceDiffuserH7161,
56
57
  deviceDiffuserH7162: deviceDiffuserH7161, // identical to the H7161
57
58
  deviceDehumidifierBasic,
59
+ deviceDiffuserBasic,
58
60
  deviceFanBasic,
59
61
  deviceFanH1310: deviceFanH7100, // same fan, minus a confirmed swing status message
60
62
  deviceFanH1370,