Skip to content

Correct Govee H5071 device detection - #1588

Merged
Ernst79 merged 1 commit into
custom-components:masterfrom
IoannisArmamentos:fix/govee-h5071-device-type
Sep 8, 2026
Merged

Correct Govee H5071 device detection#1588
Ernst79 merged 1 commit into
custom-components:masterfrom
IoannisArmamentos:fix/govee-h5071-device-type

Conversation

@IoannisArmamentos

Copy link
Copy Markdown
Contributor

Summary

Correct the device-type detection for Govee H5071 sensors.

Problem

The Govee parser compared the service UUID against the decimal literal 5071 instead of the hexadecimal value 0x5071.

As a result, advertisements from real H5071 devices could never match the intended H5071 branch and were incorrectly identified as H5051.

Fix

Use the correct hexadecimal service UUID value when detecting H5071 devices.

H5071 advertisements are now identified correctly, while existing H5051 and other Govee model handling remains unchanged.

A regression test covers H5071 detection.

@Ernst79
Ernst79 merged commit ebe8f85 into custom-components:master Sep 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants