Skip to content

inconsistent order of drives in API #3519

@elizhium

Description

@elizhium

Prerequisites

  • I am using the latest release of System Bridge.
  • I have read the README and relevant documentation.

System Bridge version

5.0.6

Installation method

Debian/Ubuntu package (.deb)

Installation method details

No response

Operating system

Linux

OS details

Ubuntu 24.04

Describe the bug

This bug was originally made on the Home Assistant Integration, but I was directed here.

The HA integration seems to not corrolate the correct drive data with the correct sensor.
My suspision is that this is caused by the api not giving the data in the same order.

I originally made the issue there since I believe the integration should map correctly regardless of order.

Steps to reproduce

No response

Expected behavior

Correct usage percentage for / moves around all the drives. in HA
it is correct in the API response

Actual behavior

the correct usage percentage for / is always reported on the sensor for /

Relevant logs/output

Additional context / screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugInconsistencies or issues which will cause a problem for users or implementors.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions