Why do my badges shift over with this custom card? its only for my media page...?

resources:

  • type: module
    url: /customcards/github/maykar/compact-custom-header.js?track=true
  • type: js
    url: /local/custom-lovelace/upcoming-media-card/upcoming-media-card.js
  • type: module
    url: /customcards/github/custom-cards/tracker-card.js?track=true
    views:
  • background: center / cover no-repeat url(“/local/day.jpeg”)
    badges:
    • device_tracker.davids_iphone
    • device_tracker.laurens_iphone
    • sensor.tautulli_lan_bandwidth
    • sensor.tautulli_wan_bandwidth
    • sensor.first_floor_rssi
    • sensor.first_floor
      cards:
    • type: ‘custom:compact-custom-header’
    • entity: alarm_control_panel.ring_alarm
      name: Ring
      states:
      • arm_night
      • arm_home
        type: alarm-panel
    • entities:
      • entity: binary_sensor.front_door
      • entity: binary_sensor.garage_door
      • entity: binary_sensor.sliding_back_door
        show_name: true
        show_state: true
        title: Door Sensors
        type: glance
    • entities:
      • switch.music
        entity: sensor.harmony_activity
        state_image:
        PowerOff: /local/remote.png
        title: Harmony
        type: picture-glance
    • cards:
      • entity: sensor.tautulli
        image: /local/plex.png
        name: Watching
        show_name: true
        title: hi
        type: picture-entity
      • entity: sensor.sabnzbd_status
        image: /local/sabnzbd.png
        name: Status
        show_name: true
        type: picture-entity
        type: horizontal-stack
    • cards:
      • entity: sensor.lil_bee_temperature
        graph: line
        name: Master Bedroom Temp
        show_name: true
        title: hi
        type: sensor
      • entity: sensor.thermostat_humidity
        graph: line
        name: Humidity
        show_name: true
        type: sensor
        type: horizontal-stack
    • cards:
      • entity: light.switchlinc_dimmer_3c_f2_49
        image: /local/plex.png
        name: Living Room
        show_name: true
        title: hi
        type: light
      • entity: light.switchlinc_dimmer_1d_d5_79
        name: Downstairs
        show_name: true
        type: light
        type: horizontal-stack
        path: default_view
        title: Home
  • cards:
    • type: ‘custom:compact-custom-header’
    • entity: sensor.sonarr_upcoming_media
      title: Upcoming TV
      type: ‘custom:upcoming-media-card’
    • entity: sensor.plex_recently_added
      title: Upcoming Movies
      type: ‘custom:upcoming-media-card’
      badges:
    • device_tracker.davids_iphone
    • device_tracker.laurens_iphone
    • sensor.tautulli_lan_bandwidth
    • sensor.tautulli_wan_bandwidth
    • sensor.first_floor_rssi
    • sensor.first_floor
      background: center / cover no-repeat url(“/local/day.jpeg”)
      title: Media
      panel: false
  • background: center / cover no-repeat url(“/local/day.jpeg”)
    badges:
    • device_tracker.davids_iphone
    • device_tracker.laurens_iphone
    • sensor.tautulli_lan_bandwidth
    • sensor.tautulli_wan_bandwidth
    • sensor.first_floor_rssi
    • sensor.first_floor
      cards:
    • type: ‘custom:compact-custom-header’
    • type: ‘custom:tracker-card’
      title: Settings


its driving me insane they don’t match up when i scroll through my tabs!!! i have a feeling it could be due to the custom card, even the picture is slightly different but it is the same image being used