home-assistant-ecosystem / home-assistant-cli

:computer: Command-line tool for Home Assistant
Other
446 stars 69 forks source link

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

Open ali1234 opened 2 years ago

ali1234 commented 2 years ago

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".

fabaff commented 2 years ago

NAME shows actually the data from Manufacturer.

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