Nested cards: 'no card type configured'...but can't find the error

please let me lend your eyes, I cant see the error:

  - type: custom:vertical-stack-in-card
    cards:
      - type: entities
        title: Quakes
        show_header_toggle: false
        entities:
          - binary_sensor.earthquakes_active

      - type: conditional
        conditions:
          - entity: binary_sensor.earthquakes_active
            state: 'on'
        card:
          - type: custom:vertical-stack-in-card
            cards:
              - type: entities
                entities:
                  - entity_id: sensor.count_earthquakes
              - type: map
          #      dark_mode: true
                entities:
                  - device_tracker.life360_louise
                geo_location_sources:
                  - usgs_earthquakes_feed
                default_zoom: 6
                aspect_ratio: '2'

      - type: custom:monster-card
        show_empty: false
        card:
          type: entities
          show_header_toggle: false
#            title: Earth quakes
        filter:
          include:
            - attributes:
                source: 'usgs_earthquakes_feed'

results in:

what am I missing ?

relpying to myself for reference:

found it, forgot the conditional card only takes 1 type: card so no - in front of type allowed

had another error

cards:
              - type: entities
                entities:
                  - entity_id: sensor.count_earthquakes

where entity_id should be entity. duh, must have been late. sorry.

final correct code:

  - type: custom:vertical-stack-in-card
    cards:
      - type: entities
        title: Quakes
        show_header_toggle: false
        entities:
          - binary_sensor.earthquakes_active

      - type: conditional
        conditions:
          - entity: binary_sensor.earthquakes_active
            state: 'on'
        card:
          type: custom:vertical-stack-in-card
          cards:
            - type: entities
              entities:
                - sensor.count_earthquakes
            - type: map
        #      dark_mode: true
              entities:
                - device_tracker.life360_louise
              geo_location_sources:
                - usgs_earthquakes_feed
              default_zoom: 6
              aspect_ratio: '2'

      - type: custom:monster-card
        show_empty: false
        card:
          type: entities
          show_header_toggle: false
#            title: Earth quakes
        filter:
          include:
            - attributes:
                source: 'usgs_earthquakes_feed'

bottom monster-card could maybe be added to the vertical-stack-in-card, but since it uses show_empty: false doesn’t show when no quakes are registered, Ill leave it like this for now

1 Like