From d725f3ed0cca0a9d674975a54332e8bad190b937 Mon Sep 17 00:00:00 2001 From: Ryan Meek <25127328+maykar@users.noreply.github.com> Date: Tue, 16 Feb 2021 17:08:59 -0500 Subject: [PATCH] Fix multiple server option --- custom_components/plex_assistant/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/plex_assistant/config_flow.py b/custom_components/plex_assistant/config_flow.py index 04b06d8..87ce4e1 100644 --- a/custom_components/plex_assistant/config_flow.py +++ b/custom_components/plex_assistant/config_flow.py @@ -23,7 +23,7 @@ def get_devices(_self): def get_servers(_self): try: - return [x._server_name for x in _self.hass.data["plex"]["servers"].values()] + return [x.title for x in _self.hass.config_entries.async_entries("plex")] except: return []