Skip to content

Devices list in incorrect order #24791

Open
@dhoeben

Description

@dhoeben

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

When going to a device in settings, e.g. ZHA, all available devices are not sorted correctly when sorting by name. The problem occurs when there is a incremental number, see screenshot. 10 is placed between 1 and 2, 20 between 2 and 3 etc.

Image

Describe the behavior you expected

To sort in 1,2,3,4...

Steps to reproduce the issue

Create multiple entities with the same name and add a number at the end.

What version of Home Assistant Core has the issue?

core-2024.3.4

What was the last working version of Home Assistant Core?

X

In which browser are you experiencing the issue?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

Problem-relevant frontend configuration

Javascript errors shown in your browser console/inspector

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions