Add icon translations to Spotify (#112239)
This commit is contained in:
parent
cfd88d004b
commit
f7acb7c91b
2 changed files with 10 additions and 1 deletions
9
homeassistant/components/spotify/icons.json
Normal file
9
homeassistant/components/spotify/icons.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"entity": {
|
||||
"media_player": {
|
||||
"spotify": {
|
||||
"default": "mdi:spotify"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue