From 4946d91779a6e539ea43e667b2265557a49a0bb5 Mon Sep 17 00:00:00 2001 From: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> Date: Thu, 18 Jul 2019 09:09:15 -0400 Subject: [PATCH] Make py3.5 compatible Remove f string --- homeassistant/components/nws/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/nws/weather.py b/homeassistant/components/nws/weather.py index 4350c29a4b5..21ec567d073 100644 --- a/homeassistant/components/nws/weather.py +++ b/homeassistant/components/nws/weather.py @@ -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 = f"{api_key} homeassistant" + api_key_ha = "{} homeassistant".format(api_key) nws = SimpleNWS(latitude, longitude, api_key_ha, mode, websession) _LOGGER.debug("Setting up station: %s", station)