Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devices with a single word friendly name are added to hassio with underscores in the display names #5226

Closed
ChipWolf opened this issue Dec 8, 2020 · 1 comment
Labels
problem Something isn't working

Comments

@ChipWolf
Copy link

ChipWolf commented Dec 8, 2020

What happened

I renamed one of my environment sensors in zigbee2mqtt from 'Nursery Environment' to 'Nursery' and noticed the display names in hassio include an underscore. I reverted the change and the underscores disappear, so I assume this happens if the device has a single-word name.

What did you expect to happen

The display names should not include underscores

How to reproduce it (minimal and precise)

Change the friendly name of a Xiaomi WSDCGQ11LM from multiple words to a single word (probably does the same thing with other devices, not tested) in the zigbee2mqtt web UI, enable the switch to update the entities on hassio.
Restart hassio and observe the entities with underscores in their display names.

Debug info

Zigbee2MQTT version: 1.15.0 (commit #1bccc5d)
Adapter hardware: CC2531
Adapter firmware version: '{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190619,"transportrev":2},"type":"zStack12"}'

@ChipWolf ChipWolf added the problem Something isn't working label Dec 8, 2020
Koenkk added a commit that referenced this issue Dec 8, 2020
@Koenkk
Copy link
Owner

Koenkk commented Dec 8, 2020

Fixed!

Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html)

@Koenkk Koenkk closed this as completed Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants