Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # TV
- - icon: mdi:television
- # Title of the view. Will be used as the tooltip for tab icon
- title: TV
- path: tv
- cards:
- # Entities card will take a list of entities and show their state.
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- color_type: card
- entity: switch.watch_tv
- action: toggle
- name: TV
- icon: mdi:television
- color: rgb(255, 131, 0)
- - type: custom:button-card
- color_type: card
- entity: switch.watch_netflix
- action: toggle
- name: Netflix
- icon: mdi:netflix
- color: rgb(255, 131, 0)
- - type: custom:button-card
- color_type: card
- entity: switch.watch_movie
- action: toggle
- name: Film
- icon: mdi:movie
- color: rgb(255, 131, 0)
- # TV remote
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Mute'
- icon: mdi:volume-off
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Play'
- icon: mdi:play
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Pause'
- icon: mdi:pause
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Rewind'
- icon: mdi:rewind
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'FastForward'
- icon: mdi:fast-forward
- color: rgb(75, 75, 77)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'VolumeDown'
- icon: mdi:volume-minus
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'DirectionUp'
- icon: mdi:arrow-up-thick
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'VolumeUp'
- icon: mdi:volume-plus
- color: rgb(75, 75, 77)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'DirectionLeft'
- icon: mdi:arrow-left-thick
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Select'
- icon: mdi:thumb-up-outline
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'DirectionRight'
- icon: mdi:arrow-right-thick
- color: rgb(255, 131, 0)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Guide'
- icon: mdi:television-guide
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'DirectionDown'
- icon: mdi:arrow-down-thick
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Exit'
- icon: mdi:backburger
- color: rgb(75, 75, 77)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '1'
- icon: mdi:numeric-1-box-outline
- color: rgb(150, 150, 150)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '2'
- icon: mdi:numeric-2-box-outline
- color: rgb(150, 150, 150)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '3'
- icon: mdi:numeric-3-box-outline
- color: rgb(150, 150, 150)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '4'
- icon: mdi:numeric-4-box-outline
- color: rgb(150, 150, 150)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '5'
- icon: mdi:numeric-5-box-outline
- color: rgb(150, 150, 150)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '6'
- icon: mdi:numeric-6-box-outline
- color: rgb(150, 150, 150)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '7'
- icon: mdi:numeric-7-box-outline
- color: rgb(150, 150, 150)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '8'
- icon: mdi:numeric-8-box-outline
- color: rgb(150, 150, 150)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '9'
- icon: mdi:numeric-9-box-outline
- color: rgb(150, 150, 150)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: blank-card
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: '0'
- icon: mdi:numeric-0-box-outline
- color: rgb(150, 150, 150)
- - type: conditional
- conditions:
- - entity: switch.watch_tv
- state: 'on'
- card:
- type: custom:button-card
- color_type: blank-card
- # Netflix remote
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Mute'
- icon: mdi:volume-off
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Play'
- icon: mdi:play
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Pause'
- icon: mdi:pause
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Rewind'
- icon: mdi:rewind
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'FastForward'
- icon: mdi:fast-forward
- color: rgb(75, 75, 77)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'VolumeDown'
- icon: mdi:volume-minus
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'DirectionUp'
- icon: mdi:arrow-up-thick
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'VolumeUp'
- icon: mdi:volume-plus
- color: rgb(75, 75, 77)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'DirectionLeft'
- icon: mdi:arrow-left-thick
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'OK'
- icon: mdi:thumb-up-outline
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'DirectionRight'
- icon: mdi:arrow-right-thick
- color: rgb(255, 131, 0)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: blank-card
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'DirectionDown'
- icon: mdi:arrow-down-thick
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_netflix
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'Back'
- icon: mdi:backburger
- color: rgb(75, 75, 77)
- # Movie remote
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Mute'
- icon: mdi:volume-off
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Play'
- icon: mdi:play
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Pause'
- icon: mdi:pause
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'Rewind'
- icon: mdi:rewind
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198017
- command: 'FastForward'
- icon: mdi:fast-forward
- color: rgb(75, 75, 77)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'VolumeDown'
- icon: mdi:volume-minus
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'DirectionUp'
- icon: mdi:arrow-up-thick
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'VolumeUp'
- icon: mdi:volume-plus
- color: rgb(75, 75, 77)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'DirectionLeft'
- icon: mdi:arrow-left-thick
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'OK'
- icon: mdi:thumb-up-outline
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'DirectionRight'
- icon: mdi:arrow-right-thick
- color: rgb(255, 131, 0)
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'Option'
- icon: mdi:settings
- color: rgb(75, 75, 77)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'DirectionDown'
- icon: mdi:arrow-down-thick
- color: rgb(255, 131, 0)
- - type: conditional
- conditions:
- - entity: switch.watch_movie
- state: 'on'
- card:
- type: custom:button-card
- color_type: card
- action: service
- service:
- domain: remote
- action: send_command
- data:
- entity_id: remote.harmony
- device: 55198007
- command: 'Back'
- icon: mdi:backburger
- color: rgb(75, 75, 77)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement