Revert "Disable Spotify Media Player entity by default (#69372)" (#76250)

This commit is contained in:
Franck Nijhof 2022-08-05 16:28:52 +02:00 committed by GitHub
parent a0ef3ad21b
commit 742877f79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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