github amosyuen/ha-tplink-deco v3.8.0
v3.8.0 Fix client naming by adding ui_device_name attribute

latest releases: v3.14.1, v3.14.0, v3.13.0...
6 months ago

Summary

Home Assistant automatically builds the friendly_name of client entities using the associated Deco device name (e.g. Study Room Deco ApSystemsEcuR).
This behavior cannot be safely overridden without breaking device grouping or HA naming conventions.

This PR introduces a new attribute to expose the original client name from the Deco API.


Changes

  • Added new attribute: ui_device_name
  • This attribute contains the raw client name without HA-generated prefixes
  • Applied to all client device tracker entities

Example

Current HA behavior:

  • friendly_name: Study Room Deco ApSystemsEcuR

New attribute:

  • ui_device_name: ApSystemsEcuR

Rationale

  • Keeps Home Assistant naming behavior intact
  • Avoids breaking device grouping (clients remain linked to Deco devices)
  • Provides a clean, stable name for UI usage (cards, templates, sorting)

Usage

Users can use the attribute in templates:

{{ state_attr(entity_id, 'ui_device_name') }}sensors.

Don't miss a new ha-tplink-deco release

NewReleases is sending notifications on new releases.