Add plex server config options to media_player platform (#26458)

* Add server config options to media_player platform

* Unnecessary else

* Default host

* No need to try for default values

* Use const
This commit is contained in:
jjlawren authored and Martin Hjelmare committed 2019-09-05 22:20:58 +02:00
1 parent 2cd845fb25
commit 23fdc04554
3 files changed
+20 -3

No files matched your search

+1 -2
View File
@@ -19,10 +19,9 @@ from homeassistant.helpers.entity import Entity
from homeassistant.util import Throttle
import homeassistant.helpers.config_validation as cv
from .const import DEFAULT_PORT, DEFAULT_SSL, DEFAULT_VERIFY_SSL
from .const import DEFAULT_HOST, DEFAULT_PORT, DEFAULT_SSL, DEFAULT_VERIFY_SSL
from .server import PlexServer
DEFAULT_HOST = "localhost"
DEFAULT_NAME = "Plex"
_LOGGER = logging.getLogger(__name__)