mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
Lint fixes (#25462)
This commit is contained in:
parent
00a5a5f3c0
commit
cd0277c2c3
@ -16,7 +16,6 @@ SUPPORT_AVEA = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR)
|
|||||||
|
|
||||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||||
"""Set up the Avea platform."""
|
"""Set up the Avea platform."""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
nearby_bulbs = avea.discover_avea_bulbs()
|
nearby_bulbs = avea.discover_avea_bulbs()
|
||||||
for bulb in nearby_bulbs:
|
for bulb in nearby_bulbs:
|
||||||
|
@ -27,7 +27,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
|||||||
|
|
||||||
def get_scanner(hass, config):
|
def get_scanner(hass, config):
|
||||||
"""Validate the configuration and return a FortiOSDeviceScanner."""
|
"""Validate the configuration and return a FortiOSDeviceScanner."""
|
||||||
|
|
||||||
host = config[DOMAIN][CONF_HOST]
|
host = config[DOMAIN][CONF_HOST]
|
||||||
verify_ssl = config[DOMAIN][CONF_VERIFY_SSL]
|
verify_ssl = config[DOMAIN][CONF_VERIFY_SSL]
|
||||||
token = config[DOMAIN][CONF_TOKEN]
|
token = config[DOMAIN][CONF_TOKEN]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user