Skip to content

Instantly share code, notes, and snippets.

@starbuck93
Last active May 7, 2023 17:53
Show Gist options
  • Save starbuck93/cff6e28858668ed1314c2fdf9a6fad47 to your computer and use it in GitHub Desktop.
Save starbuck93/cff6e28858668ed1314c2fdf9a6fad47 to your computer and use it in GitHub Desktop.
new Chromecast with Google TV integration and Lovelace card example
type: custom:tv-card
entity: remote.my_remote
title: Chromecast
power_row:
- back
- power
- home
apps_row:
- netflix
- disneyplus
- plex
volume_row: buttons
navigation_row: buttons
media_control_row:
- rewind
- play
- pause
- fast_forward
custom_keys:
volume_up:
icon: mdi:volume-plus
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: VOLUME_UP
back:
icon: mdi:arrow-left
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: BACK
volume_down:
icon: mdi:volume-minus
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: VOLUME_DOWN
volume_mute:
icon: mdi:volume-mute
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: VOLUME_MUTE
dpad_down:
icon: mdi:menu-down
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: DPAD_DOWN
power:
icon: mdi:power
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: POWER
plex:
icon: mdi:plex
service: remote.turn_on
service_data:
entity_id: remote.my_remote
activity: plex://
disneyplus:
icon: mdi:alpha-d-box
service: remote.turn_on
service_data:
entity_id: remote.my_remote
activity: https://www.disneyplus.com
netflix:
icon: mdi:netflix
service: remote.turn_on
service_data:
entity_id: remote.my_remote
activity: https://www.netflix.com/title
home:
icon: mdi:home
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: HOME
rewind:
icon: mdi:rewind
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: MEDIA_REWIND
play:
icon: mdi:play
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: MEDIA_PLAY
pause:
icon: mdi:pause
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: MEDIA_PAUSE
fast_forward:
icon: mdi:fast-forward
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: MEDIA_FAST_FORWARD
right:
icon: mdi:menu-right
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: DPAD_RIGHT
left:
icon: mdi:menu-left
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: DPAD_LEFT
up:
icon: mdi:menu-up
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: DPAD_UP
down:
icon: mdi:menu-down
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: DPAD_DOWN
enter:
icon: mdi:star-four-points-circle-outline
service: remote.send_command
service_data:
entity_id: remote.my_remote
command: DPAD_CENTER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment