mini-media-player: Problem with first show when i have add mini media player

Hi I have added to my config as i show mini media player. After first login to HA i have an error but when go to other cards/tab and then come back to my first card with mini media player all is ok. Why ?

`resources:

  • url: /local/mini-media-player.js?v=0.9.5 type: module
  • url: /local/vertical-stack-in-card.js?v=0.0.8 type: js
  • url: /local/layout-card.js?ver=7db164 type: js
  • url: /local/dark-sky-weather-card.js?ver=0.1.5 type: js
  • url: /local/tracker-card.js?v=0.1.5 type: js
  • url: /local/slider-entity-row.js type: js

title: Mój dom views:

POKOJE
  • id: pokoje icon: mdi:home-assistant title: Pomieszczenia panel: false badges:
    • sun.sun
    • updater.updater cards:
    • id: pokoje_salon type: custom:vertical-stack-in-card show_header_toggle: false title: Salon cards:
      • type: glance show_name: false entities:
        • sensor.salon_temperature
      • type: entities entities:
        • entity: light.salon_stol name: Oświetlenie nad stołem icon: mdi:lightbulb
        • entity: light.salon_kinkiety name: Oświetlenie kinkiety icon: mdi:lightbulb
        • entity: switch.fibaro_system_fgwpef_wall_plug_switch name: Salon gniazdo TV icon: mdi:power-socket-eu
        • entity: light.fibaro_system_fgrgbwm441_rgbw_controller_level_3 name: LEDy 3 icon: mdi:led-strip
        • entity: light.fibaro_system_fgrgbwm441_rgbw_controller_level_4 name: LEDy 4 icon: mdi:led-strip
        • entity: light.fibaro_system_fgrgbwm441_rgbw_controller_level_5 name: LEDy 5 icon: mdi:led-strip
        • entity: light.fibaro_system_fgrgbwm441_rgbw_controller_level_6 name: LEDy 6 icon: mdi:led-strip
        • entity: light.fibaro_system_fgrgbwm441_rgbw_controller_level_7 name: LEDy 7 icon: mdi:led-strip
        • type: divider
      • type: custom:mini-media-player entity: media_player.tv_salon icon: mdi:television hide_controls: false volume_stateless: true hide_volume: false power_color: true show_source: true
      • type: custom:mini-media-player entity: media_player.denon_salon icon: mdi:audio-video hide_controls: false hide_volume: false power_color: true scroll_info: true show_source: true `

1

2

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

Ok yes it is ok

Hey @pepeEL I just tried this myself and both vertical-stack-in-card and vertical-style-card work perfectly fine together with the mini-media-player.

Make sure you’ve followed the installation instructions correctly and are using the latest version of each card and Home Assistant.

screenshot 2018-12-07 at 17 49 40

Example card configuration:

- type: custom:vertical-stack-in-card
  title: custom:vertical-stack-in-card
  cards:
    - entity: media_player.chromecast_badrum
      type: custom:mini-media-player
    - entity: media_player.chromecast_sovrum
      type: custom:mini-media-player
    - entity: media_player.chromecast_vardagsrum
      type: custom:mini-media-player

- type: custom:vertical-style-card
  title: custom:vertical-style-card
  cards:
    - entity: media_player.chromecast_badrum
      type: custom:mini-media-player
    - entity: media_player.chromecast_sovrum
      type: custom:mini-media-player
    - entity: media_player.chromecast_vardagsrum
      type: custom:mini-media-player