You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Invalid entity ID for WH34 temperature channel sensors: WH34 sensors (ch_temp block) generated entity IDs with a double underscore such as sensor.ecowitt_tf__b0d0. This happened because _extract_sensor_type_from_key stripped the channel suffix ch from the key tf_ch and returned tf_ (trailing underscore), which then combined with the _ separator before the hardware ID. The extraction now strips trailing underscores from the computed type name, producing valid entity IDs like sensor.ecowitt_tf_b0d0. Home Assistant was warning that double-underscore entity IDs will stop working in HA 2027.2.0. (issue #189)