Skip to content

OVMS Home Assistant v1.6.2

Choose a tag to compare

@github-actions github-actions released this 19 Mar 22:17
· 13 commits to main since this release
cbc9dd4

Breaking Changes

Entity IDs have been renamed

All entity IDs now follow the {domain}.ovms_{vehicle_id}_{friendly_name} convention for clarity and multi-vehicle support (#209). Existing entities are automatically migrated on upgrade.

Examples:

Before (v1.6.1) After (v1.6.2)
sensor.ovms_mycar_metric_v_b_soc sensor.ovms_mycar_battery_level
sensor.ovms_mycar_metric_v_b_range_est sensor.ovms_mycar_estimated_range
sensor.ovms_mycar_metric_v_p_odometer sensor.ovms_mycar_odometer
binary_sensor.ovms_mycar_metric_v_c_charging binary_sensor.ovms_mycar_charging_status
device_tracker.ovms_mycar_location device_tracker.ovms_mycar_location (unchanged)

Vehicle-specific metrics now use a suffix instead of a prefix:

Before (v1.6.1) After (v1.6.2)
sensor.ovms_mycar_metric_xvu_b_soc_abs sensor.ovms_mycar_absolute_soc_vw_eup
sensor.ovms_mycar_metric_xvu_v_t_emgcy sensor.ovms_mycar_tire_emergency_values_vw_eup
sensor.ovms_mycar_metric_xrt_b_energy_avail sensor.ovms_mycar_available_energy_renault_twizy

What you need to do

  • Dashboards, automations, and scripts that reference old entity IDs must be updated to use the new names.
  • Entities whose display name was manually customized in the HA UI will keep their current entity_id and are not affected.
  • The custom dashboard cards (VW e-UP, Renault Twizy) in custom-cards/ have been updated with the new entity IDs.

Known limitation

Home Assistant does not track whether an entity_id was manually changed by the user. The migration uses name is None (no custom display name) as a proxy. A user who customized only their entity_id without also setting a custom name will have that entity_id overwritten.

What's New

Device-scoped entity naming (has_entity_name) (#209, #196)

All OVMS entities now use Home Assistant's has_entity_name model. Entity display names are scoped under the device (e.g., "Battery Level" under the "OVMS MYCAR" device) instead of carrying redundant prefixes. This gives cleaner, human-readable names throughout the HA UI.

Vehicle make/model moved to end of entity names (#196)

Vehicle-specific metrics (VW eUP!, Renault Twizy, etc.) now show the vehicle label as a suffix in parentheses rather than a prefix. For example: Tire Emergency Values (VW eUP!) instead of VW eUP! Tire Emergency Values.

Bug Fixes

  • Fix rear tire position abbreviation: Corrected inconsistent LRRL (rear-left) in tire pressure attribute names and cleanup lists
  • Fix device_tracker missing has_entity_name: The device tracker entity now correctly participates in device-scoped naming
  • Updated custom dashboard cards: VW e-UP and Renault Twizy cards updated to use the new entity ID format

Full Changelog

v1.6.1...v1.6.2