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

Add unit of measurement #61

Closed
robmarkcole opened this issue May 10, 2020 · 3 comments
Closed

Add unit of measurement #61

robmarkcole opened this issue May 10, 2020 · 3 comments

Comments

@robmarkcole
Copy link
Owner

If this isnt included the state is treated as a string, not numerical

@robmarkcole
Copy link
Owner Author

Hmm adding the following did not change this:

    @property
    def unit_of_measurement(self):
        """Return the unit of measurement."""
        return ""

@robmarkcole
Copy link
Owner Author

OK the unit cannot be an empty, the following adds a graph:

    @property
    def unit_of_measurement(self):
        """Return the unit of measurement."""
        return "targets"

image

@robmarkcole
Copy link
Owner Author

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant