Skip to content

0.7.28 — UserDefinedState crash fix + SHC I/II/Classic all supported

Choose a tag to compare

@mosandlt mosandlt released this 28 Jun 17:18

Bug fix

User-Defined States crash on HA reload (#351)

KeyError: 'deleted' was raised in SHCUserDefinedStateSwitch.available on every HA reload, making all User-Defined State switches permanently unavailable. Root cause: the Bosch SHC API omits the "deleted" field when its value is False. Fixed in boschshcpy 0.3.21 by using .get("deleted", False) (and the same guard for "state").

Upgrade path: HACS picks up 0.7.28 automatically; boschshcpy 0.3.21 is installed as a pip dependency on next HA restart.

Documentation

Corrected hardware compatibility table — all three controller generations are supported:

Model Status
Bosch Smart Home Controller II (SHC II) ✅ Supported
Bosch Smart Home Controller I (SHC I) ✅ Supported
Bosch Smart Home Controller Classic ✅ Supported

Both SHC I and SHC II use the same local REST API. Registration differs only in button procedure: short press for SHC II, hold until LEDs flash for SHC I / Classic.