-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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 GPS coords to meraki #10998
Add GPS coords to meraki #10998
Conversation
Hi @addelovein, It seems you haven't yet signed a CLA. Please do so here. Once you do that we will be able to review and accept this pull request. Thanks! |
if lat=="NaN" or lng=="NaN": | ||
_LOGGER.debug("No coordinates received, skipping gps_location for: " + mac) | ||
gps_location=None | ||
accuracy=None |
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.
missing whitespace around operator
|
||
if lat=="NaN" or lng=="NaN": | ||
_LOGGER.debug("No coordinates received, skipping gps_location for: " + mac) | ||
gps_location=None |
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.
missing whitespace around operator
mac = i["clientMac"] | ||
_LOGGER.debug("clientMac: %s", mac) | ||
|
||
if lat=="NaN" or lng=="NaN": | ||
_LOGGER.debug("No coordinates received, skipping gps_location for: " + mac) |
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.
line too long (91 > 79 characters)
mac = i["clientMac"] | ||
_LOGGER.debug("clientMac: %s", mac) | ||
|
||
if lat=="NaN" or lng=="NaN": |
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.
missing whitespace around operator
mac = i["clientMac"] | ||
_LOGGER.debug("clientMac: %s", mac) | ||
|
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.
blank line contains whitespace
|
||
if lat == "NaN" or lng == "NaN": | ||
_LOGGER.debug( | ||
"No coordinates received, skipping gps_location for: " + mac |
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.
line too long (80 > 79 characters)
…ent-being-nonexistent * origin/dev: Volvo on call: Optional use of Scandinavian miles. Also add average fuel consumption property (home-assistant#11051) add custom bypass status to total connect (home-assistant#11042) Refactor hue to split bridge support from light platform (home-assistant#10691) Add GPS coords to meraki (home-assistant#10998) Add a caldav calendar component (home-assistant#10842) Added support for cover in tellstick (home-assistant#10858)
…into dev * 'dev' of https://github.com/home-assistant/home-assistant: Volvo on call: Optional use of Scandinavian miles. Also add average fuel consumption property (home-assistant#11051) add custom bypass status to total connect (home-assistant#11042) Refactor hue to split bridge support from light platform (home-assistant#10691) Add GPS coords to meraki (home-assistant#10998) Add a caldav calendar component (home-assistant#10842) Added support for cover in tellstick (home-assistant#10858)
Description:
Added support for GPS coordinates for Meraki. BLE devices will contain NaN and therefor be ignored.
Checklist:
If the code communicates with devices, web services, or third-party tools:
tox
run successfully. Your PR cannot be merged unless tests pass