Skip to content

Commit e01fb38

Browse files
committed
Add media player play/pause/stop icons
Adds a display configuration for media_player devices with play/pause based on current state.
1 parent d0269d8 commit e01fb38

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

public/config/default-display-config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,3 +326,25 @@ fan:
326326
states:
327327
off:
328328
icon: mdi:fan-off
329+
330+
media_player:
331+
icon: mdi:play-circle
332+
color: '#AAAAAA'
333+
labelTemplates:
334+
- ''
335+
- ''
336+
- '{{ media_title }}'
337+
- '{{ media_artist}}'
338+
states:
339+
playing:
340+
color: '#00C937'
341+
icon: mdi:play
342+
paused:
343+
color: '#F9F871'
344+
icon: mdi:pause
345+
idle:
346+
color: '#505050'
347+
icon: mdi:stop
348+
off:
349+
color: '#505050'
350+
icon: mdi:television-off

0 commit comments

Comments
 (0)