-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Add hdop sensor (#3140) #8680
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
base: dev
Are you sure you want to change the base?
Add hdop sensor (#3140) #8680
Conversation
Additional changes - Change debug logs to 1 line per value instead of 2 - Change defaults from -1 to NAN, satellites defaults to 0
Hey there @coogle, mind taking a look at this pull request as it has been labeled with an integration ( |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #8680 +/- ##
==========================================
+ Coverage 53.70% 56.62% +2.91%
==========================================
Files 50 50
Lines 9408 9922 +514
Branches 1654 1340 -314
==========================================
+ Hits 5053 5618 +565
+ Misses 4056 3955 -101
- Partials 299 349 +50 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sure I can take a peek. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks fine, but I think you've made some minor changes that were unnecessary and I'd like to see those undone unless there is a reason for them.
Additional changes - Change some debug logs to 1 line per value instead of 2 - Change defaults from -1 to NAN, satellites defaults to 0
Additional changes - Change some debug logs to 1 line per value instead of 2 - Change defaults from -1 to NAN, satellites defaults to 0
What does this implement/fix?
TinyGPSPlus in currently used version 1.0.2 supports reading HDOP (Horizontal Dilution Of Precision).
However the current
gps
component does not define a sensor for it.This add
hdop
as an additional sensor forgps
.Additional changes
Types of changes
Related issue or feature (if applicable):
Pull request in esphome-docs with documentation (if applicable):
Test Environment
Example entry for
config.yaml
:Checklist:
tests/
folder).If user exposed functionality or configuration variables are added/changed:
Tested with