From 350ed9f764da4bc67f01a1a34abe4d9a654a5d91 Mon Sep 17 00:00:00 2001 From: Roy Hooper Date: Fri, 11 Sep 2015 19:48:34 -0400 Subject: [PATCH] remove and disable pylint: disable=abstract-method for play_youtube() --- homeassistant/components/media_player/sonos.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/homeassistant/components/media_player/sonos.py b/homeassistant/components/media_player/sonos.py index 4e92a78cf87..87d961192df 100644 --- a/homeassistant/components/media_player/sonos.py +++ b/homeassistant/components/media_player/sonos.py @@ -43,6 +43,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): # pylint: disable=too-many-instance-attributes # pylint: disable=too-many-public-methods +# pylint: disable=abstract-method class SonosDevice(MediaPlayerDevice): """ Represents a Sonos device. """ @@ -182,7 +183,3 @@ class SonosDevice(MediaPlayerDevice): """ turn the media player on. """ self._player.play() self.update_ha_state() - - def play_youtube(self, media_id): - """ Plays a YouTube media. """ - raise NotImplementedError()