v4.B2 Pre-release
Major Updates
💡 Lights — Per-Segment Entity Support
- Added capability-driven per-segment light entity support
- Any Govee light with
segment_color_settingin its API response now automatically gets individual segment entities (one per zone) - Full RGB and brightness control per segment — no SKU hardcoding, works for all current and future segmented devices
- Affected devices include H6076, H60A1, H60B2, H70C7, H7075, and any future device with this capability
- Parent light entity preserved — segment entities are additive
💧 Humidifier — Bug Fixes & Improvements
- Fixed
current_humidityreturning wrong value (was reading power state instead of actual humidity sensor) - Fixed Manual speed levels not appearing — speeds now correctly named Speed 1, Speed 2, etc. when no name is provided by the API
- Added
sensorHumidityandsensorTemperatureas proper HA sensor entities with correct device class and units - Affected devices include H7140, H7141, H7143, H7160, H7151 and others
🔧 Codebase
- Replaced blocking
requestslibrary with asyncaiohttpthroughout - Fixed mutable class-level defaults across platform files
- Replaced deprecated HA unload APIs with
async_unload_platforms - Fixed
GoveeLifeSwitchmissingSwitchEntityinheritance - Replaced
importlib_metadatawith stdlibimportlib.metadata - Various typo fixes, comment cleanup, and dead code removal