mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Update wunderground.py
This commit is contained in:
parent
75cd1f8063
commit
4dff42e8bb
@ -49,8 +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 Wunderground 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