github lasswellt/govee-homeassistant v2026.6.24

4 hours ago

Sensor & device-classification fixes from the open issue tracker.

Fixed

  • H5127 presence sensor misclassified as a water leak / moisture sensor (#124). The H5127 shares the bodyAppearedEvent capability with the H5054 water detector; it now becomes a proper Occupancy binary sensor instead of a moisture one (which could false-alarm), and no longer gets polled against the leak warnMessage endpoint. Detection is locale-proof (keys on the Presence/Absence option values, not the localized names).
  • H5140 CO₂ monitor (#117). Added a CO₂ sensor (ppm) from the carbonDioxideConcentration property.
  • Air-quality reading restored as a numeric AQI sensor (#114). It was briefly converted to an on/off presence flag; it's a coarse index that does vary, so it's a numeric sensor again. Mains-powered SKUs (e.g. H5106) that report a bogus constant battery no longer get a misleading 100% battery entity.
  • Dehumidifier water-tank-full (#118). The H7150/H7152 Water Tank Full sensor now reflects real state, sourced from the account (BFF) waterFull value — the cloud device-state poll never carried it, so it previously stayed "unknown". (Requires email/password configured.)
  • Battery on sensors (#125). Battery (from the account BFF) is now preserved across cloud polls so it no longer flickers, and is suppressed for mains-powered devices. Battery requires email/password configured.
  • New leak sensors added to a hub now appear without a manual reload (#101). Leak sensors added to an existing hub (e.g. H5059 on an H5044) are detected on the periodic poll and trigger an automatic reload.

Notes

  • #124: live presence/absence delivery depends on Govee's push for that SKU; the integration now creates the correctly-typed entity and parses/preserves the value when it arrives. After classification change you may see a leftover unavailable *_water_leak (and, for AQI, a leftover binary_sensor.*_air_quality) entity from the old type — safe to delete.
  • Battery, CO₂, and water-tank-full all require the email/password (account) login configured, not just an API key.

Don't miss a new govee-homeassistant release

NewReleases is sending notifications on new releases.