mirror of
https://github.com/home-assistant/core.git
synced 2025-08-20 13:02:31 +02:00
Not using payload
This commit is contained in:
@@ -61,7 +61,6 @@ PLATFORM_SCHEMA = vol.Schema({
|
|||||||
|
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
"""Setup the Wunderground sensor."""
|
"""Setup the Wunderground sensor."""
|
||||||
payload = config.get('payload', None)
|
|
||||||
rest = WUndergroundData(_RESOURCE,
|
rest = WUndergroundData(_RESOURCE,
|
||||||
config.get(CONF_PWS_ID),
|
config.get(CONF_PWS_ID),
|
||||||
config.get(CONF_API_KEY),
|
config.get(CONF_API_KEY),
|
||||||
|
Reference in New Issue
Block a user