Add icon translations to Spotify (#112239)

This commit is contained in:
Joost Lekkerkerker 2024-03-04 20:27:08 +01:00 committed by GitHub
parent cfd88d004b
commit f7acb7c91b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
{
"entity": {
"media_player": {
"spotify": {
"default": "mdi:spotify"
}
}
}
}

View file

@ -118,9 +118,9 @@ class SpotifyMediaPlayer(MediaPlayerEntity):
"""Representation of a Spotify controller."""
_attr_has_entity_name = True
_attr_icon = "mdi:spotify"
_attr_media_image_remotely_accessible = False
_attr_name = None
_attr_translation_key = "spotify"
def __init__(
self,