dermotduffy / frigate-hass-card

A Lovelace card for Frigate in Home Assistant
MIT License
557 stars 59 forks source link

Latest build of 4.1.0 is not displaying additional elements menu buttons #977

Closed conorlap closed 1 year ago

conorlap commented 1 year ago

Checklist:

Release with the issue: Latest build of 4.1.0

Last working release (if known): The previous build (yesterdays)

Browser and Operating System: Edge / macOS

Description of problem: Since deploying the latest build of 4.1.0, I no longer have the additional elements menu buttons showing up.

Javascript errors shown in the web inspector (if applicable):

N/A

Additional information:

type: custom:frigate-card
cameras:
  - live_provider: webrtc-card
    frigate:
      camera_name: frontdoor
    camera_entity: camera.frontdoor
    webrtc_card:
      url: rtsp://192.168.0.22:8554/frontdoor?video=all&audio=all
      ui: false
      muted: true
view:
  default: live
  camera_select: live
dimensions:
  aspect_ratio_mode: static
  aspect_ratio: '4:3'
live:
  controls:
    thumbnails:
      mode: none
      media: clips
    title:
      mode: none
    next_previous:
      style: none
    timeline:
      mode: none
  show_image_during_load: true
  lazy_unload: hidden
  draggable: false
  auto_unmute: never
media_viewer:
  controls:
    title:
      mode: none
    thumbnails:
      mode: none
      show_timeline_control: false
    next_previous:
      style: chevrons
  auto_unmute: all
  transition_effect: slide
  auto_mute: hidden
  draggable: false
menu:
  buttons:
    frigate:
      enabled: false
    live:
      enabled: true
    clips:
      enabled: true
    snapshots:
      enabled: false
    download:
      enabled: true
    fullscreen:
      enabled: false
    timeline:
      enabled: false
    media_player:
      enabled: false
    image:
      enabled: false
    camera_ui:
      enabled: false
    cameras:
      enabled: false
    recordings:
      enabled: false
  style: overlay
  position: right
elements:
  - type: custom:frigate-card-menu-icon
    icon: mdi:fullscreen
    tap_action:
      action: fire-dom-event
      browser_mod:
        service: browser_mod.popup
        data:
          size: wide
          content:
            aspect_ratio: 55%
            type: custom:webrtc-camera
            url: rtsp://192.168.0.22:8554/frontdoor?video=all&audio=all
            mode: webrtc
            muted: true
  - type: custom:frigate-card-conditional
    conditions:
      view:
        - live
    elements:
      - type: custom:frigate-card-menu-submenu
        priority: 0
        icon: mdi:package-variant
        items:
          - title: Package at Door
            icon: mdi:door
            tap_action:
              action: call-service
              service: shell_command.doorbelltts
          - title: Package in Bin
            icon: mdi:trash-can-outline
            service: shell_command.doorbellttsrecycling
            tap_action:
              action: call-service
              service: shell_command.doorbellttsrecycling
media_gallery:
  controls:
    thumbnails:
      show_details: false
      show_favorite_control: true
      show_timeline_control: false
performance:
  profile: high
dermotduffy commented 1 year ago

Fixed. Thanks for the report @conorlap .