github lasswellt/govee-homeassistant v2026.6.6

3 hours ago

H5054 Water-Leak Detector Support (issue #62)

Adds a Water Leak moisture binary sensor for standalone Govee H5054 water detectors that appear in the developer device list.

What's new

  • Capability-based detection of the bodyAppearedEvent event instance — the generic event Govee's developer API exposes for H5054 detectors. Not SKU-locked.
  • New binary_sensor.<name>_water_leak (device class moisture) per detected device.
  • Leak trip parsed from the REST device-state poll and, best-effort, from MQTT pushes.

Known limitation

The exact MQTT flat-key for a live trip is not yet confirmed (no captured trip payload). Several plausible keys are accepted, and any unrecognized leak-shaped push is logged at debug so the real key can be added. If your H5054 doesn't flip on a real leak, enable custom_components.govee: debug, trip a detector, and report the logged payload keys on issue #62.

Internal

  • Test-suite fix: shadow pytest-homeassistant-custom-component's enable_event_loop_debug autouse fixture (broken under pytest-asyncio ≥1.0 for synchronous unit tests).

Don't miss a new govee-homeassistant release

NewReleases is sending notifications on new releases.