mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
This commit is contained in:
parent
a0ef3ad21b
commit
742877f79b
@ -40,7 +40,7 @@ from .util import fetch_image_url
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
SCAN_INTERVAL = timedelta(minutes=1)
|
||||
SCAN_INTERVAL = timedelta(seconds=30)
|
||||
|
||||
SUPPORT_SPOTIFY = (
|
||||
MediaPlayerEntityFeature.BROWSE_MEDIA
|
||||
@ -107,7 +107,6 @@ def spotify_exception_handler(func):
|
||||
class SpotifyMediaPlayer(MediaPlayerEntity):
|
||||
"""Representation of a Spotify controller."""
|
||||
|
||||
_attr_entity_registry_enabled_default = False
|
||||
_attr_has_entity_name = True
|
||||
_attr_icon = "mdi:spotify"
|
||||
_attr_media_content_type = MEDIA_TYPE_MUSIC
|
||||
|
Loading…
x
Reference in New Issue
Block a user