Skip to content

v5.5.0 - #1469

Merged
donavanbecker merged 2 commits into
latestfrom
beta-5.4.2
Nov 20, 2026
Merged

v5.5.0#1469
donavanbecker merged 2 commits into
latestfrom
beta-5.4.2

Conversation

@donavanbecker

Copy link
Copy Markdown
Contributor

homebridge-switchbot 5.5.0

Releases what was waiting on beta-5.4.2 (published as 5.4.2-beta.0). 5.4.2 was cut from latest before these landed.

Labelled minor like v5.4.0, since it adds device types. No config migration needed.


Generated by Claude Code

claude and others added 2 commits November 20, 2026 12:54
Homebridge 2.5.1 warns at registration for clusters a device type does
not carry and for attribute names a cluster does not have.

- plug: drop the `electricalMeasurement` block. It is not a Matter
  cluster, so matter.js always discarded it and Homebridge now warns.
  Not replaced with electricalPowerMeasurement: nothing in the plugin
  updates power readings yet, so it would expose a permanent empty
  reading on every plug, metering or not.
- motion: OccupancySensing's Occupancy attribute is a bitmap, so the
  initial value is now `{ occupied: false }` instead of `0`, and the
  descriptor read in GenericDevice returns `{ occupied }` instead of 1/0.

meter and humidifier still declare relativeHumidityMeasurement on device
types (TemperatureSensor, Fan) that do not list it, even as optional, so
Homebridge will keep warning for them; fixing that needs a different
device composition and is left for a separate change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LzktUspaxcZ9Dh5WVEtf5W
…1468)

## What changed

node-switchbot 6.1.4 (OpenWonderLabs/node-switchbot#368) resolves new
SwitchBotAPI device types. This makes them selectable in the plugin and
gives each an accessory:

| Device type | Accessory | Why |
| --- | --- | --- |
| `Curtain4` (also `Curtain 4`) | `Curtain3Device` (Window Covering) |
Same OpenAPI commands as the Curtain 3; Matter treats it as a curtain |
| `Robot Vacuum Cleaner S30` | `VacuumDevice` | Same as the S20 |
| `Robot Vacuum Cleaner K11 Plus Pro` | `WoSweeperDevice` | Same as the
K11+ |

`config.schema.json` is regenerated from `DEVICE_TYPES`. Tests in
`test/device/model-identities.spec.ts` check that each type normalizes
and creates the right accessory, and the existing check that normalized
types never fall back to `GenericDevice` covers them too.

Not added: Art Frame 2 / AI Art Frame 2 and E Ink Photo Magnet
(node-switchbot#366). HomeKit and Matter have no picture-frame
accessory, and the generic fallback would show them as a Switch that
does nothing useful. The existing `AI Art Frame` type has the same
issue.

No config migration needed. The node-switchbot range (`^6.1.2`) already
allows 6.1.4; the lockfile bump comes from the `deps/node-switchbot` PR.

## Checks

`npm run build`, `npm run test` (248 passed, 1 skipped) and `npm run
lint` pass locally.

---
_Generated by [Claude Code](https://claude.ai/code)_

Co-authored-by: Claude <noreply@anthropic.com>
@donavanbecker donavanbecker added the minor minor release change label Nov 20, 2026 — with Claude
@donavanbecker
donavanbecker merged commit ac3d2d8 into latest Nov 20, 2026
23 checks passed
@donavanbecker
donavanbecker deleted the beta-5.4.2 branch November 20, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor minor release change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants