Skip to content

Make sure self._df_ret is defined before using or see alternatives #88

@GraysonBellamy

Description

@GraysonBellamy

🚀 Feature Request

Any function using self._df_ret needs to make sure it's defined first. See first lines of poll() function where it checks for self._df_format.

🔈 Motivation

Those functions will error out if that variable isn't defined.

🛰 Alternatives

We may just want to call the get_format function at the setup of the device or make some seperate function to convert floats.

📎 Additional context

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions