type: custom:button-card
styles:
grid:
- grid-template-areas: >-
"power source blank channelnumber channelnumber" "dpad dpad dpad
volstack chanstk" "dpad dpad dpad volstack chanstk" "dpad dpad dpad
volstack chanstk" "home return exit guide subtitles " "rewind play
pause stop forward"
- grid-template-columns: 65px 65px 65px 65px 65px
- grid-template-rows: 65px 65px 65px 65px 65px 65px
- row-gap: 8px
- column-gap: 8px
card:
- background: transparent
- border-style: none
- padding: 20px
- margin: 0
custom_fields:
subtitles:
card:
type: custom:button-card
icon: mdi:subtitles-outline
tap_action:
action: call-service
service: script.send_samsung_subtitles
show_name: false
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
home:
card:
type: custom:button-card
icon: mdi:home
show_name: false
tap_action:
action: call-service
service: script.send_samsung_home
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
guide:
card:
type: custom:button-card
icon: mdi:television-guide
show_name: false
tap_action:
action: call-service
service: script.send_samsung_guide
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
return:
card:
type: custom:button-card
icon: mdi:undo
show_name: false
tap_action:
action: call-service
service: script.send_samsung_return
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
exit:
card:
type: custom:button-card
icon: mdi:exit-to-app
show_name: false
tap_action:
action: call-service
service: script.send_samsung_exit
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
dpad:
card:
type: custom:button-card
styles:
grid:
- grid-template-areas: "\". up .\" \"left ok right\" \". down .\""
- grid-template-columns: 65px 65px 65px
- grid-template-rows: 65px 65px 65px
- row-gap: 0px
- column-gap: 0px
card:
- background: transparent
- padding: 0
- margin: 0
- border: none
custom_fields:
up:
card:
type: custom:button-card
icon: mdi:chevron-up
tap_action:
action: call-service
service: script.send_samsung_up
show_name: false
styles:
card:
- width: 65px
- height: 65px
- margin: 0
- padding: 0
- border: none
- box-shadow: none
- background-color: "#4b5975"
- border-top-left-radius: 22px
- border-top-right-radius: 22px
- border-bottom-left-radius: 0px
- border-bottom-right-radius: 0px
icon:
- background-color: transparent
- color: white
- width: 32px
- height: 32px
left:
card:
type: custom:button-card
icon: mdi:chevron-left
tap_action:
action: call-service
service: script.send_samsung_left
show_name: false
styles:
card:
- width: 65px
- height: 65px
- margin: 0
- padding: 0
- border: none
- box-shadow: none
- background-color: "#4b5975"
- border-top-left-radius: 22px
- border-bottom-left-radius: 22px
- border-top-right-radius: 0px
- border-bottom-right-radius: 0px
icon:
- background-color: transparent
- color: white
- width: 32px
- height: 32px
ok:
card:
type: custom:button-card
icon: mdi:checkbox-blank-circle-outline
show_name: false
tap_action:
action: call-service
service: script.send_samsung_ok
styles:
card:
- width: 65px
- height: 65px
- margin: 0
- padding: 0
- border: none
- box-shadow: none
- background-color: "#4b5975"
- border-radius: 0px
icon:
- background-color: transparent
- color: white
- width: 32px
- height: 32px
right:
card:
type: custom:button-card
icon: mdi:chevron-right
show_name: false
tap_action:
action: call-service
service: script.send_samsung_right
styles:
card:
- width: 65px
- height: 65px
- margin: 0
- padding: 0
- border: none
- box-shadow: none
- background-color: "#4b5975"
- border-top-right-radius: 22px
- border-bottom-right-radius: 22px
- border-top-left-radius: 0px
- border-bottom-left-radius: 0px
icon:
- background-color: transparent
- color: white
- width: 32px
- height: 32px
down:
card:
type: custom:button-card
icon: mdi:chevron-down
show_name: false
tap_action:
action: call-service
service: script.send_samsung_down
styles:
card:
- width: 65px
- height: 65px
- margin: 0
- padding: 0
- border: none
- box-shadow: none
- background-color: "#4b5975"
- border-bottom-left-radius: 22px
- border-bottom-right-radius: 22px
- border-top-left-radius: 0px
- border-top-right-radius: 0px
icon:
- background-color: transparent
- color: white
- width: 32px
- height: 32px
volstack:
card:
type: custom:button-card
styles:
grid:
- grid-template-areas: "\"volup\" \"mute\" \"voldown\""
- grid-template-rows: 65px 65px 65px
- row-gap: 0px
card:
- background: transparent
- padding: 0
- margin: 0
- border: none
custom_fields:
volup:
card:
type: custom:button-card
icon: mdi:volume-plus
show_name: false
tap_action:
action: call-service
service: script.send_samsung_volup
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border-top-left-radius: 22px
- border-top-right-radius: 22px
- border-bottom-left-radius: 0px
- border-bottom-right-radius: 0px
- border: none
- box-shadow: none
- padding: 0
- margin: 0
icon:
- color: white
- background-color: transparent
- width: 32px
- height: 32px
mute:
card:
type: custom:button-card
icon: mdi:volume-off
show_name: false
tap_action:
action: call-service
service: script.send_samsung_volmute
styles:
card:
- width: 62px
- height: 68px
- background-color: "#4b5975"
- border-radius: 0px
- border: none
- box-shadow: none
- padding: 0
- margin: 0
icon:
- color: white
- background-color: transparent
- width: 32px
- height: 32px
voldown:
card:
type: custom:button-card
icon: mdi:volume-minus
show_name: false
tap_action:
action: call-service
service: script.send_samsung_voldown
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border-bottom-left-radius: 22px
- border-bottom-right-radius: 22px
- border-top-left-radius: 0px
- border-top-right-radius: 0px
- border: none
- box-shadow: none
- padding: 0
- margin: 0
icon:
- color: white
- background-color: transparent
- width: 32px
- height: 32px
chanstk:
card:
type: custom:button-card
styles:
grid:
- grid-template-areas: "\"channelup\" \"guide\" \"channeldown\""
- grid-template-rows: 65px 65px 65px
- row-gap: 0px
card:
- background: transparent
- padding: 0
- margin: 0
- border: none
custom_fields:
channelup:
card:
type: custom:button-card
icon: mdi:chevron-up
show_name: false
tap_action:
action: call-service
service: script.send_samsung_chanup
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border-top-left-radius: 22px
- border-top-right-radius: 22px
- border-bottom-left-radius: 0px
- border-bottom-right-radius: 0px
- border: none
- box-shadow: none
- padding: 0
- margin: 0
icon:
- color: white
- background-color: transparent
- width: 32px
- height: 32px
guide:
card:
type: custom:button-card
icon: mdi:television-guide
show_name: false
tap_action:
action: call-service
service: script.send_samsung_guide
styles:
card:
- width: 62px
- height: 68px
- background-color: "#4b5975"
- border-radius: 0px
- border: none
- box-shadow: none
- padding: 0
- margin: 0
icon:
- color: white
- background-color: transparent
- width: 32px
- height: 32px
channeldown:
card:
type: custom:button-card
icon: mdi:chevron-down
show_name: false
tap_action:
action: call-service
service: script.send_samsung_chandown
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border-bottom-left-radius: 22px
- border-bottom-right-radius: 22px
- border-top-left-radius: 0px
- border-top-right-radius: 0px
- border: none
- box-shadow: none
- padding: 0
- margin: 0
icon:
- color: white
- background-color: transparent
- width: 32px
- height: 32px
power:
card:
type: custom:button-card
icon: mdi:power
show_name: false
tap_action:
action: call-service
service: script.send_samsung_power
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
blank:
### Work in Progress
card:
type: custom:button-card
icon: mdi:plex
show_name: false
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
source:
card:
type: custom:button-card
icon: mdi:video-input-hdmi
show_name: false
tap_action:
action: call-service
service: script.send_samsung_source
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
channelnumber:
card:
type: custom:button-card
icon: mdi:numeric
show_name: false
styles:
card:
- height: 61.992px
- margin: 0
- padding: 0
- background-color: "#4b5975"
- border-radius: 22px
- border: none
- box-shadow: none
icon:
- background-color: transparent
- color: white
- width: 32px
- height: 32px
rewind:
card:
type: custom:button-card
icon: mdi:rewind
show_name: false
tap_action:
action: call-service
service: script.send_samsung_rewind
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
play:
card:
type: custom:button-card
icon: mdi:play
show_name: false
tap_action:
action: call-service
service: script.send_samsung_play
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
pause:
card:
type: custom:button-card
icon: mdi:pause
show_name: false
tap_action:
action: call-service
service: script.send_samsung_pause
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
stop:
card:
type: custom:button-card
icon: mdi:stop
show_name: false
tap_action:
action: call-service
service: script.send_samsung_stop
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px
forward:
card:
type: custom:button-card
icon: mdi:fast-forward
show_name: false
tap_action:
action: call-service
service: script.send_samsung_forward
styles:
card:
- width: 62px
- height: 62px
- background-color: "#4b5975"
- border: none
- margin: 0
- border-radius: 22px
icon:
- width: 32px
- height: 32px
- color: white
- background-color: transparent
- padding: 6px