mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
Add icon translations to Spotify (#112239)
This commit is contained in:
parent
cfd88d004b
commit
f7acb7c91b
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…
x
Reference in New Issue
Block a user