github disforw/goveelife v4.B4
v4.B4 — Fix RGBIC segment turn-off + README rewrite

pre-release5 hours ago

What's Changed

🐛 Bug Fix — RGBIC Segment Turn-Off (Issue #134)

Fixes a hardware-level bug where RGBIC segment lights (H60A4 and similar ceiling lights) could not fully turn off — segments remained lit at ~1% brightness.

Root cause: async_turn_off() used if/elif logic, meaning devices that expose both segmentedBrightness AND segmentedColorRgb capabilities (like the H60A4) only received a brightness=0 command. The hardware clamps minimum brightness to ~1%, so the LEDs never went dark.

Fix: Changed to if/if so both brightness=0 AND rgb=0 are always sent when both capabilities are present. Also fixes:

  • Brightness scale corrected from (0, 100) to (1, 100) to match the reader
  • turn_on() with no args on a dark RGB segment now sends rgb=0xFFFFFF (white) to actually illuminate the segment

Affects all devices with both segmented brightness + RGB capabilities — not just H60A4.

📝 README Rewrite

Replaced the minimal placeholder README with full documentation covering supported devices, installation (HACS + manual), configuration, entity types, capabilities, and troubleshooting.

Full Changelog: v4.B3...v4.B4

Don't miss a new goveelife release

NewReleases is sending notifications on new releases.