mirror of
https://github.com/cgiesche/streamdeck-homeassistant.git
synced 2026-01-09 14:08:09 -05:00
Add media player play/pause/stop icons
Adds a display configuration for media_player devices with play/pause based on current state.
This commit is contained in:
@@ -326,3 +326,25 @@ fan:
|
||||
states:
|
||||
off:
|
||||
icon: mdi:fan-off
|
||||
|
||||
media_player:
|
||||
icon: mdi:play-circle
|
||||
color: '#AAAAAA'
|
||||
labelTemplates:
|
||||
- ''
|
||||
- ''
|
||||
- '{{ media_title }}'
|
||||
- '{{ media_artist}}'
|
||||
states:
|
||||
playing:
|
||||
color: '#00C937'
|
||||
icon: mdi:play
|
||||
paused:
|
||||
color: '#F9F871'
|
||||
icon: mdi:pause
|
||||
idle:
|
||||
color: '#505050'
|
||||
icon: mdi:stop
|
||||
off:
|
||||
color: '#505050'
|
||||
icon: mdi:television-off
|
||||
Reference in New Issue
Block a user