mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Fix docstrings
This commit is contained in:
parent
35c29dac3f
commit
d69c1b848a
@ -35,7 +35,7 @@ SUPPORT_PLEX = SUPPORT_PAUSE | SUPPORT_PREVIOUS_TRACK | SUPPORT_NEXT_TRACK
|
|||||||
|
|
||||||
|
|
||||||
def config_from_file(filename, config=None):
|
def config_from_file(filename, config=None):
|
||||||
''' Small configuration file management function'''
|
""" Small configuration file management function. """
|
||||||
if config:
|
if config:
|
||||||
# We're writing configuration
|
# We're writing configuration
|
||||||
try:
|
try:
|
||||||
@ -85,7 +85,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
|||||||
|
|
||||||
# pylint: disable=too-many-branches
|
# pylint: disable=too-many-branches
|
||||||
def setup_plexserver(host, token, hass, add_devices_callback):
|
def setup_plexserver(host, token, hass, add_devices_callback):
|
||||||
''' Setup a plexserver based on host parameter'''
|
""" Setup a plexserver based on host parameter. """
|
||||||
import plexapi.server
|
import plexapi.server
|
||||||
import plexapi.exceptions
|
import plexapi.exceptions
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user