RogerSelwyn / Home_Assistant_SkyQ_MediaPlayer

Home Assistant SkyQ Media player component
MIT License
101 stars 17 forks source link

MDI replacement #135

Closed BristolBEAT closed 1 year ago

BristolBEAT commented 1 year ago

How do you replace an MDI Icon with the "Sky" text in the code editor?

Many Thanks Capture

RogerSelwyn commented 1 year ago

It's just a name:

        - icon: null
          id: sky
          name: Sky
          type: skyq
BristolBEAT commented 1 year ago

Thank you, sorry another one.

How did you create a horizontal stack of your buttons. Mine are just stacking in two. Do you have an example YAML code of this?

Screenshot 2023-01-05 at 20 35 30
RogerSelwyn commented 1 year ago

This is my setup, which I don't really use so I don't know if it fully functional. For more details on usage, please have a look at the MMP GitHub - https://github.com/kalkih/mini-media-player

artwork: cover
entity: media_player.sky_q
hide:
  icon_state: false
  power_state: false
  source: false
  volume: false
info: scroll
name: SkyQ
shortcuts:
  buttons:
    - icon: mdi:chevron-up
      id: channelup
      type: skyq
    - icon: mdi:chevron-down
      id: channeldown
      type: skyq
    - icon: mdi:record-rec
      id: record
      type: skyq
    - icon: null
      id: sky
      name: Sky
      type: skyq
    - icon: null
      id: tvguide
      name: Guide
      type: skyq
    - icon: mdi:home-outline
      id: home
      type: skyq
    - icon: mdi:menu-open
      id: sidebar
      type: skyq
    - icon: mdi:keyboard-return
      id: dismiss
      type: skyq
    - icon: mdi:information-variant
      id: i
      type: skyq
    - icon: mdi:arrow-right-thick
      id: right
      type: skyq
    - icon: mdi:arrow-left-thick
      id: left
      type: skyq
    - icon: mdi:arrow-up-thick
      id: up
      type: skyq
    - icon: mdi:arrow-down-thick
      id: down
      type: skyq
    - icon: null
      id: select
      name: Select
      type: skyq
    - icon: null
      name: null
    - icon: null
    - icon: null
    - icon: null
  columns: 6
  hide_when_off: true
type: custom:mini-media-player