mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
remove and disable pylint: disable=abstract-method for play_youtube()
This commit is contained in:
parent
3679a8078a
commit
350ed9f764
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user