Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: vertical-stack
- cards:
- - type: custom:mushroom-title-card
- title: TV Control
- alignment: center
- subtitle: ''
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-chips-card
- chips:
- - type: template
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- device: television
- command:
- - POWER_OFF
- - POWER_ON
- icon: mdi:power
- icon_color: primary
- content: Power
- - type: spacer
- - type: action
- icon: mdi:volume-mute
- icon_color: red
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- hold_secs: 0
- device: television
- command: MUTE
- - type: action
- icon: mdi:volume-medium
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- device: television
- command: VOLUME_DOWN
- hold_secs: 0
- - type: action
- icon: mdi:volume-high
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- device: television
- command: VOLUME_UP
- alignment: center
- - type: custom:android-tv-card
- remote_id: remote.the_tv
- media_player_id: media_player.the_tv
- rows:
- - - navigation_touchpad
- custom_sources:
- syncler:
- icon: mdi:movie-open
- color: red
- service: remote.turn_on
- target:
- entity_id: remote.the_tv
- data:
- activity: syncler-cmdlet://
- card_mod:
- style: |
- toucharea {
- /* background-image: [too big] */
- background-size: 30% !important;
- background-repeat: no-repeat !important;
- background-position: center !important;
- background-image-opacity: .1 !important;
- opacity: .25;
- margin: 15px 15px;
- }
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-entity-card
- entity: remote.the_tv
- icon: mdi:backburger
- fill_container: false
- secondary_info: none
- name: Back
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2fa67f4eb66801c73eb501103bf1fce3
- data:
- hold_secs: 0
- command: BACK
- icon_color: grey
- - type: custom:mushroom-entity-card
- entity: remote.the_tv
- icon: mdi:home
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2fa67f4eb66801c73eb501103bf1fce3
- data:
- command: HOME
- secondary_info: none
- fill_container: false
- name: Home
- - type: horizontal-stack
- cards:
- - type: horizontal-stack
- cards:
- - show_name: false
- show_icon: true
- type: button
- tap_action:
- action: call-service
- service: remote.turn_on
- target:
- entity_id: remote.the_tv
- data:
- activity: syncler-cmdlet://
- icon_height: 30px
- icon: mdi:netflix
- card_mod:
- style: |
- ha-card {
- --card-mod-icon-color: rgb(160, 9, 0);
- }
- - show_name: false
- show_icon: true
- type: button
- tap_action:
- action: call-service
- service: remote.turn_on
- target:
- entity_id: remote.the_tv
- data:
- activity: vnd.youtube://
- icon_height: 30px
- icon: mdi:youtube
- name: YouTube
- card_mod:
- style: |
- ha-card {
- --card-mod-icon-color: rgb(180, 30, 30);
- }
- - type: custom:mushroom-entity-card
- entity: script.screen_toggle
- name: Screen
- icon: mdi:projector-screen-variant-outline
- icon_color: grey
- tap_action:
- action: call-service
- service: script.screen_toggle
- target: {}
- fill_container: false
- secondary_info: none
- - type: custom:mushroom-chips-card
- chips:
- - type: action
- icon: mdi:menu
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- command: MENU
- device: television
- - type: action
- icon: mdi:check
- icon_color: primary
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- command: OK
- device: television
- - type: action
- icon: mdi:close
- icon_color: red
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- command: BACK
- device: television
- - type: action
- icon: mdi:gamepad-circle-right
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- command: RIGHT
- device: television
- hold_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- device: television
- command: LEFT
- - type: action
- icon: mdi:gamepad-circle-down
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- command: DOWN
- device: television
- hold_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- num_repeats: 1
- delay_secs: 0.4
- hold_secs: 0
- device: television
- command: UP
- - type: action
- icon: mdi:upload-multiple
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- device: television
- command:
- - SOURCE
- - UP
- - OK
- - type: action
- icon: mdi:download-multiple
- tap_action:
- action: call-service
- service: remote.send_command
- target:
- device_id: 2c8ecd335aada58e4d80209e5c71b5b4
- data:
- device: television
- command:
- - SOURCE
- - DOWN
- - OK
- - type: light
- entity: light.small_light_2
- tap_action:
- action: toggle
- use_light_color: true
- content_info: name
- alignment: center
- view_layout:
- grid-area: main
Advertisement
Add Comment
Please, Sign In to add comment