From cd0277c2c31be053e35af1f583cc2783d9e2272d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 24 Jul 2019 18:26:41 +0300 Subject: [PATCH] Lint fixes (#25462) --- homeassistant/components/avea/light.py | 1 - homeassistant/components/fortios/device_tracker.py | 1 - 2 files changed, 2 deletions(-) diff --git a/homeassistant/components/avea/light.py b/homeassistant/components/avea/light.py index ada0a5c069d..35c18dabd54 100644 --- a/homeassistant/components/avea/light.py +++ b/homeassistant/components/avea/light.py @@ -16,7 +16,6 @@ SUPPORT_AVEA = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Avea platform.""" - try: nearby_bulbs = avea.discover_avea_bulbs() for bulb in nearby_bulbs: diff --git a/homeassistant/components/fortios/device_tracker.py b/homeassistant/components/fortios/device_tracker.py index b5ed538ec41..dc99a81f874 100755 --- a/homeassistant/components/fortios/device_tracker.py +++ b/homeassistant/components/fortios/device_tracker.py @@ -27,7 +27,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ def get_scanner(hass, config): """Validate the configuration and return a FortiOSDeviceScanner.""" - host = config[DOMAIN][CONF_HOST] verify_ssl = config[DOMAIN][CONF_VERIFY_SSL] token = config[DOMAIN][CONF_TOKEN]