Open mptpro opened 2 years ago
I love your example, could you pass the code?
I love your example, could you pass the code?
Sure. I assume you want the one for the Roku.
type: custom:mini-media-player
entity: media_player.patio_roku
artwork: none
info: scroll
source: full
volume_stateless: true
sound_mode: icon
group: true
icon_state: true
hide:
mute: false
power: false
volume_level: true
name: false
icon: false
progress: false
runtime_remaining: false
sound_mode: false
controls: false
jump: true
runtime: false
shortcuts:
columns: 4
hide_when_off: true
buttons:
- icon: mdi:volume-off
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command: volume_mute
- name: Settings
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command: info
- icon: mdi:keyboard-return
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command: back
- icon: mdi:circle
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command: select
- icon: mdi:rewind
name: 1m
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command:
- left
- left
- left
- left
- left
- left
- left
- left
- left
- left
- select
- icon: mdi:rewind
name: 30s
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command: replay
- icon: mdi:arrow-up-bold
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command: up
- icon: mdi:arrow-down-bold
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command: down
- icon: mdi:fast-forward
name: 1m
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command:
- right
- right
- right
- right
- right
- right
- select
- icon: mdi:fast-forward
name: 5m
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command:
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- right
- select
- icon: mdi:arrow-left-bold
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command: left
- icon: mdi:arrow-right-bold
type: service
id: remote.send_command
data:
entity_id: remote.patio_roku
command: right
replace_mute: null
The mini-media-play does everything I need, except 3 things.
thanks!