Dashboard Help with Expander Card

I am working on a Dashboard that utilizes the expander-card found in HACS. I can’t seem to get it to work properly. The following yaml compiles properly but when I test it, none of the objects show. I’ve tried this with devices and objects but the result is the same. The code below is an example I copied from the Github site. And I’ve tested this in both safari and chrome but neither work.

Any thoughts are appreciated! - Lee

title: Expander Test Dashboard
views:
  - title: Test
    path: test
    cards:
      - type: custom:expander-card
        child-margin-top: 0.6em
        padding: 0
        clear: true
        title-card-button-overlay: true
        title-card-clickable: true
        expanded: true
        title-card:
          type: custom:digital-clock
          dateFormat:
            weekday: long
            day: 2-digit
            month: short
          timeFormat:
            hour: 2-digit
            minute: 2-digit
        cards:
          - type: custom:simple-weather-card
            entity: weather.openweathermap
            primary_info:
              - wind_speed
              - wind_bearing
            secondary_info:
              - precipitation
              - precipitation_probability
          - type: custom:hourly-weather
            entity: weather.openweathermap
            icons: true
            show_precipitation_probability: true
            show_precipitation_amounts: true
            forecast_type: hourly
            num_segments: 10"
            label_spacing: '1'
            name: null
            show_wind: speed

I am not using this custom card, just some thoughts:
The code you posted is for a DASHBOARD.
What you probably need is a code for a CARD.
Are you using a dashboard in a storage mode (i.e. UI managed)? If yes - then you need to add any card, switch to yaml mode of UI editor and paste only a code for a CARD.

Thanks. I tried many different things but have not been successful. This was just a test case.

Basically, I want to have my home organized by floor, then area, device. I was trying to make the floor collapsable with this card.

Lee

Your question was “why my code not working?”
And that code was taken from somewhere.
Suggest to try with an example from a corresponding GitHub repo.
Also, there is a main Expander card thread in Community.

Agreed. The code posted was from the Github of the developer.

As I said, this is a code for a dashboard, use only a card’s part.