Skip to content

v0.5.0 - Capability-Based Entity Filtering

Choose a tag to compare

@onpremcloudguy onpremcloudguy released this 28 Mar 22:23
· 2 commits to main since this release

Capability-Based Entity Filtering (v0.5.0)

Intelligent entity filtering based on vehicle hardware capabilities, trim level, and equipment detection. Vehicles only show entities for features they actually have - no more phantom sensors for sunroofs on cars without sunroofs.

Highlights

  • Capability filtering across all 9 entity platforms (sensor, binary_sensor, lock, climate, switch, button, select, number, time)
  • Sentinel value 101 detection - hardware position fields returning "not equipped" are excluded
  • Vehicle model/edition detection - Smart #1/#3/#5 and Pure/Pro/Pulse/Premium/BRABUS/Launch from matCode
  • Edition-based filtering - PM2.5 sensors (Pure/Pro) and seat heating (Pure) excluded by trim
  • Static data caching - 3 fewer API calls per poll cycle per vehicle
  • Frontend race condition fixed - custom cards registered as Lovelace resources instead of deferred scripts
  • Safe-by-default - unknown capabilities default to disabled

Entity Impact

  • 2 new diagnostic sensors (vehicle model, vehicle edition)
  • Sunroof/curtain entities excluded on non-equipped vehicles
  • Fully-equipped vehicles: zero regression

Full changelog

See CHANGELOG.md for complete details.