Skip to content

Allow config of latitude and longitude#8068

Merged
fabaff merged 1 commit into
home-assistant:devfrom
jshore1296:add-lat-long-to-wunderground
Jun 17, 2017
Merged

Allow config of latitude and longitude#8068
fabaff merged 1 commit into
home-assistant:devfrom
jshore1296:add-lat-long-to-wunderground

Conversation

@jshore1296
Copy link
Copy Markdown
Contributor

This will allow for dynamically updating weather states using the WUnderground
API, for instance if you wanted to use the latitude and longitude of a phone
or other device to get the weather for your current location.

Description:

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#2829

Example entry for configuration.yaml (if applicable):

Checklist:

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies are only imported inside functions that use them (example).
  • New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

This will allow for dynamically updating weather states, for instance if
you wanted to use the latitude and longitude of a phone or other device
to get the weather for your current location.
@homeassistant
Copy link
Copy Markdown
Contributor

Hi @jshore1296,

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!

@mention-bot
Copy link
Copy Markdown

@jshore1296, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fabaff, @tchellomello and @arsaboo to be potential reviewers.

@jshore1296
Copy link
Copy Markdown
Contributor Author

I am brand new to contributing here - and I'm not familiar with how tests work in this repository yet. Any guidance you have would be greatly appreciated!

Bear with me, haha! I'll do my best to be cooperative and helpful.

Copy link
Copy Markdown
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 🐦

@fabaff fabaff merged commit 58c2344 into home-assistant:dev Jun 17, 2017
@balloob balloob mentioned this pull request Jul 1, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants