Skip to content

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 11 May 01:13
eeba978

Fixed

  • WH45/WH46D PM2.5 concentration entities disappeared after v1.7.0: The new pm25_realaqi_co2 and pm25_24haqi_co2 AQI keys added in v1.7.0 collapsed to the same generated entity_id as the pre-existing pm25_co2 (PM2.5 concentration) and pm25_24h_co2 (PM2.5 24h avg concentration) entities, because the substring pm25 and pm25_24h in the type-mapping table matched both the concentration and AQI keys. The AQI entries were processed last and overwrote the concentration entries in the coordinator's per-entity_id dict, so the PM2.5 µg/m³ entities went unavailable on the WH45/WH46D device. Two new type-mapping entries (pm25_24haqi and pm25_realaqi) now run before the generic pm25_24h and pm25 patterns so each PM2.5 co2 key gets a distinct sensor_type and entity_id. (issue #182)