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 safety check #28

Merged
merged 4 commits into from
Sep 3, 2023
Merged

Add safety check #28

merged 4 commits into from
Sep 3, 2023

Conversation

wtgee
Copy link
Member

@wtgee wtgee commented Sep 2, 2023

  • Adding get_safe_reading that checks the thresholds.
  • Adding status and is_safe properties.
  • Remove enqueue option and always save some readings.

* Adding `get_safe_reading` that checks the thresholds.
* Adding `status` and `is_safe` properties.
* Remove `enqueue` option and always save some readings.
* Adding `get_safe_reading` that checks the thresholds.
* Adding `status` and `is_safe` properties.
* Remove `enqueue` option and always save some readings.
@codecov-commenter
Copy link

codecov-commenter commented Sep 2, 2023

Codecov Report

Patch coverage: 70.31% and project coverage change: +4.14% 🎉

Comparison is base (07d5974) 57.83% compared to head (2961ee7) 61.98%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   57.83%   61.98%   +4.14%     
==========================================
  Files           6        6              
  Lines         268      313      +45     
  Branches       30       45      +15     
==========================================
+ Hits          155      194      +39     
- Misses        110      112       +2     
- Partials        3        7       +4     
Files Changed Coverage Δ
src/aag/weather.py 56.25% <70.31%> (+10.44%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wtgee wtgee merged commit 80b9377 into main Sep 3, 2023
4 checks passed
@wtgee wtgee deleted the add-safety-check branch September 3, 2023 00:57
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.

2 participants