mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Update wunderground.py
This commit is contained in:
parent
be57cd55c5
commit
a0bcd33b71
@ -124,7 +124,7 @@ class WUndergroundData(object):
|
|||||||
|
|
||||||
@Throttle(MIN_TIME_BETWEEN_UPDATES)
|
@Throttle(MIN_TIME_BETWEEN_UPDATES)
|
||||||
def update(self):
|
def update(self):
|
||||||
"""Get the latest data from wunderground"""
|
"""Get the latest data from wunderground."""
|
||||||
try:
|
try:
|
||||||
result = requests.get(self._resource + self._api_key +
|
result = requests.get(self._resource + self._api_key +
|
||||||
'/conditions/q/pws:' + self._pws_id +
|
'/conditions/q/pws:' + self._pws_id +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user