Clean up after global variable deletion (#33743)

* Clean up after global variable deletion

* Remove self from method calls
This commit is contained in:
springstan authored and GitHub committed 2020-04-06 10:32:04 -07:00
1 parent f3b6575272
commit 0d2de919a6
6 files changed
+3 -17

No files matched your search

@@ -30,7 +30,6 @@ def setup(hass, config):
"""Set up the BloomSky component."""
api_key = config[DOMAIN][CONF_API_KEY]
bloomsky = None
try:
bloomsky = BloomSky(api_key, hass.config.units.is_metric)
except RuntimeError: