Skip to content

v0.6.24 — Tyre-pressure curation, distance units & source_dataset

Choose a tag to compare

@TommiG1 TommiG1 released this 20 Jun 22:17

Summary

Addresses the remaining sensor-mapping gaps from upstream mikrohard#33 and completes per-entity provenance from mikrohard#31.

Sensor mapping (#33)

  • tyre_pressure_required_* (5 wheels) — curated as bar with device_class: pressure instead of the ambiguous portal unit "10kPA / Bar / PSI/ kPA".
  • tyre_pressure_differential_* — now also bar + device_class: pressure.
  • Zero-emission / range-gain distances — short- and long-term fields convert portal 100m hectometers to km (÷10).
  • Sentinel filtering for tyre validity codes (0/1) is limited to tyre_pressure_actual_* so required-pressure readings around 1.0 bar are not treated as invalid.

Source dataset attribute (#31)

Every curated sensor, binary sensor, and raw diagnostic now exposes source_dataset (portal ZIP filename) alongside the existing data_captured_at / age_minutes freshness attributes.

Test plan

  • Reload integration after update
  • Check a curated sensor (e.g. Battery) for source_dataset attribute
  • On PHEV/Passat payloads: verify tyre_pressure_required_* and distance sensors if portal delivers those fields