Fixed Flake8 error
This commit is contained in:
1 parent
cb9ad467af
commit
76d14157ec
2 files changed
+1
-11
No files matched your search
@@ -9,16 +9,6 @@ import tellcore.constants as tellcore_constants
|
||||
|
||||
def get_devices(hass, config):
|
||||
""" Find and return Tellstick switches. """
|
||||
return get_switches()
|
||||
|
||||
|
||||
def devices_discovered(hass, config, info):
|
||||
""" Called when a device is discovered. """
|
||||
return get_switches()
|
||||
|
||||
|
||||
def get_switches():
|
||||
""" Returns the Wink switches. """
|
||||
try:
|
||||
import tellcore.telldus as telldus
|
||||
except ImportError:
|
||||
|
||||
Reference in new issue
Block a user