mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Disable Spotify Media Player entity by default (#69372)
This commit is contained in:
parent
8af37235ec
commit
9e2198fa47
@ -47,7 +47,7 @@ from .util import fetch_image_url
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
SCAN_INTERVAL = timedelta(seconds=30)
|
||||
SCAN_INTERVAL = timedelta(minutes=1)
|
||||
|
||||
SUPPORT_SPOTIFY = (
|
||||
SUPPORT_BROWSE_MEDIA
|
||||
@ -117,6 +117,7 @@ class SpotifyMediaPlayer(MediaPlayerEntity):
|
||||
_attr_icon = "mdi:spotify"
|
||||
_attr_media_content_type = MEDIA_TYPE_MUSIC
|
||||
_attr_media_image_remotely_accessible = False
|
||||
_attr_entity_registry_enabled_default = False
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user