Skip to content

Instantly share code, notes, and snippets.

@iantrich
Created August 8, 2020 23:34
Show Gist options
  • Save iantrich/2f8d628804c05d1f0928a0effbd1c99f to your computer and use it in GitHub Desktop.
Save iantrich/2f8d628804c05d1f0928a0effbd1c99f to your computer and use it in GitHub Desktop.
cards:
- cards:
- content: >
Office Roku <br> {{ state_attr('media_player.office_roku', 'source')
}}
type: markdown
- entity: remote.office_roku
icon: 'mdi:fake'
show_name: false
tap_action:
action: none
type: button
- entity: remote.office_roku
icon: 'mdi:power'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: power
entity_id: remote.office_roku
type: button
type: horizontal-stack
- cards:
- entity: remote.office_roku
icon: 'mdi:arrow-left'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: back
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:information-outline'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: info
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:home'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: home
entity_id: remote.office_roku
type: button
type: horizontal-stack
- cards:
- entity: remote.office_roku
icon: 'mdi:hulu'
show_name: false
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.office_roku
source: Hulu
type: button
- entity: remote.office_roku
icon: 'mdi:chevron-up'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: up
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:netflix'
show_name: false
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.office_roku
source: Netflix
type: button
type: horizontal-stack
- cards:
- entity: remote.office_roku
icon: 'mdi:chevron-left'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: left
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:checkbox-blank-circle-outline'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: select
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:chevron-right'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: right
entity_id: remote.office_roku
type: button
type: horizontal-stack
- cards:
- entity: remote.office_roku
icon: 'mdi:amazon'
show_name: false
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.office_roku
source: Prime Video
type: button
- entity: remote.office_roku
icon: 'mdi:chevron-down'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: down
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:castle'
show_name: false
tap_action:
action: call-service
service: media_player.select_source
service_data:
entity_id: media_player.office_roku
source: Disney Plus
type: button
type: horizontal-stack
- cards:
- entity: remote.office_roku
icon: 'mdi:rewind'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: reverse
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:play-pause'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: play
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:fast-forward'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: forward
entity_id: remote.office_roku
type: button
type: horizontal-stack
- cards:
- entity: remote.office_roku
icon: 'mdi:volume-mute'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: volume_mute
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:volume-minus'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: volume_down
entity_id: remote.office_roku
type: button
- entity: remote.office_roku
icon: 'mdi:volume-plus'
show_name: false
tap_action:
action: call-service
service: remote.send_command
service_data:
command: volume_up
entity_id: remote.office_roku
type: button
type: horizontal-stack
- cards:
- entity: input_boolean.pause_office
show_name: false
tap_action:
action: toggle
type: button
- entity: remote.office_roku
icon: 'mdi:fake'
show_name: false
tap_action:
action: none
type: button
- entity: light.office
icon: 'mdi:lightbulb-multiple'
show_name: false
tap_action:
action: toggle
type: button
type: horizontal-stack
- entity: media_player.office_tv
type: media-control
type: vertical-stack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment