mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Update wunderground.py
This commit is contained in:
parent
1a34bc5301
commit
fae9267701
@ -49,7 +49,7 @@ SENSOR_TYPES = {
|
|||||||
|
|
||||||
|
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
"""Setup the Wundeground sensor."""
|
"""Setup the Wundeground sensor.
|
||||||
payload = config.get('payload', None)
|
payload = config.get('payload', None)
|
||||||
rest = WUndergroundData(_RESOURCE,
|
rest = WUndergroundData(_RESOURCE,
|
||||||
config.get(CONF_PWS_ID),
|
config.get(CONF_PWS_ID),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user