home-assistant-ecosystem/home-assistant-cli

`device list` does not show the correct name of zigbee devices

Opened this issue · 1 comments

Version: 0.9.4 (installed with pip)

Steps to reproduce:

  1. Have zigbee network using ZHA
  2. Add devices
  3. Rename a device through web interface
  4. Run hass-cli device list

Expected result:

The NAME column of hass-cli output should show the name you set in the web interface.

Actual result:

The NAME column shows concatenation of device manufacturer and model.

Example output:

ID                                NAME                         MODEL         MANUFACTURER      AREA
4996cf160c18d11b6497f24020ebd8b3  _TZ3000_8nkb7mof TS0121      TS0121        _TZ3000_8nkb7mof  Kitchen

How that device looks in the web UI:

image

The name should be "Socket A".

NAME shows actually the data from Manufacturer.

Edit: Yupp, and the model (as you stated).