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

Unit tooling improvements #293

Merged
merged 2 commits into from Jan 3, 2022
Merged

Unit tooling improvements #293

merged 2 commits into from Jan 3, 2022

Conversation

nhoening
Copy link
Contributor

@nhoening nhoening commented Jan 2, 2022

I ran into errors when loading my dashboard locally, as unit was empty ("") for some assets' sensors.

I then also solved two more smaller issues with the unit utilities.

We can also discuss protecting these utils better or at some other place against unit string being incompatible with pint.

…me which is usable with pdb debugging; remove deprecation warning about .getitem methid in UnitRegistry
@nhoening nhoening changed the base branch from main to project-9 January 2, 2022 15:54
@nhoening nhoening requested a review from Flix6x January 2, 2022 15:55
@Flix6x
Copy link
Contributor

Flix6x commented Jan 2, 2022

Good improvements. Indeed I'd like to validate on input, too. I believe that would be sensor crud logic.

@nhoening nhoening merged commit 2414292 into project-9 Jan 3, 2022
@nhoening nhoening deleted the unit-tooling-improvements branch January 3, 2022 11:14
@Flix6x Flix6x added this to the 0.8.0 milestone Jan 20, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants