Fix tv button styles

This commit is contained in:
2020-04-29 00:51:54 +03:00
parent 22fc3d5f15
commit 0367b6135e
@@ -68,7 +68,7 @@
- type: horizontal-stack
cards:
- type: custom:button-card
template: default
template: small
entity: media_player.nvidia_shield
name: TV
icon: mdi:television
@@ -76,19 +76,20 @@
action: toggle
state:
- value: 'playing'
styles:
styles: &on_styles
card:
- background-color: var(--primary-color)
- color: black
icon:
- color: black
- value: 'standby'
styles:
card:
- background-color: var(--primary-color)
- color: black
icon:
- color: black
styles: *on_styles
- value: 'on'
styles: *on_styles
- value: 'home'
styles: *on_styles
- value: 'idle'
styles: *on_styles
- type: custom:button-card
template: default