Lint fixes (#25462)
parent
00a5a5f3c0
commit
cd0277c2c3
homeassistant/components
avea
fortios
|
@ -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:
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue