Skip to content

getAddress return the first address available even if not found the device #229

@NilsRo

Description

@NilsRo

I prepared 3 sensors but only 1 is connected. A call to getAddress is false but the last address found is written to the variable given.

There should be no explicit address returned if the device is not found.

Reproduction: Call a device number that is not available with at least one device connected.

milesburton/DallasTemperature@^3.11.0

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions