Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Fix multiple server option
Browse files Browse the repository at this point in the history
  • Loading branch information
maykar authored Feb 16, 2021
1 parent 1f7992e commit d725f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/plex_assistant/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 []

Expand Down

0 comments on commit d725f3e

Please sign in to comment.