From 9629c6d7c93d04f8ee9acd8fc09944b034bf44ba Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 29 Aug 2018 06:39:43 +0200 Subject: [PATCH] def device shouldnt call it self but self._device --- homeassistant/components/media_player/plex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/media_player/plex.py b/homeassistant/components/media_player/plex.py index 35906cf5023881..46dacd98aadd5f 100644 --- a/homeassistant/components/media_player/plex.py +++ b/homeassistant/components/media_player/plex.py @@ -531,7 +531,7 @@ def app_name(self): @property def device(self): """Return the device, if any.""" - return self.device + return self._device @property def marked_unavailable(self):