Revert "Make py3.5 compatible"

This reverts commit 4946d91779.
This commit is contained in:
Flamm, Matthew H
2019-08-03 03:07:27 +01:00
parent 9b4326a2d6
commit 3dc4d8485f

View File

@@ -122,7 +122,7 @@ async def async_setup_platform(hass, config, async_add_entities,
websession = async_get_clientsession(hass)
# ID request as being from HA, pynws prepends the api_key in addition
api_key_ha = "{} homeassistant".format(api_key)
api_key_ha = f"{api_key} homeassistant"
nws = SimpleNWS(latitude, longitude, api_key_ha, mode, websession)
_LOGGER.debug("Setting up station: %s", station)