Adding Gauge or Thermostat card to a horizontal stack

I have multiple sections in a horizontal stack and want to add a thermostat, and a couple of sensor cards within several sections of the stack.
I get an error message “unknown type” for the gauge or also the thermostat card.

How do I do this right?
Hoe can I get more or less than the 3 columns in a masony card?
Thanks
Joe

type: horizontal-stack
cards:
  - type: entities
    title: Main Floor
    icon: mdi:floor-plan
    state_color: true
    entities:
      - type: section
        label: Kitchen
      - type: buttons
        entities:
          - entity: light.kitchen_island_light
            name: Island
            icon: mdi:chandelier
      - type: section
        label: Dining
      - type: buttons
        entities:
          - entity: light.bar_light
            name: Bar
            icon: mdi:beer
          - entity: light.dining
            name: Ceiling
            icon: mdi:light-recessed
      - type: section
        label: Office
      - type: buttons
        entities:
          - entity: light.office_light
            name: Office
            icon: mdi:light-recessed
  - type: entities
    title: Outside
    icon: mdi:storefront
    state_color: true
    entities:
      - type: section
        label: Patio
      - type: buttons
        entities:
          - entity: light.patio_wall_light
            name: Wall
            icon: mdi:wall-sconce
      - type: section
      - type: buttons
        entities:
          - entity: switch.string_lights
            name: String Lights
      - type: section
        label: Porch/Driveway
      - type: buttons
        entities:
          - entity: light.driveway_light_2
            name: Driveway
            icon: mdi:lightbulb
          - entity: switch.porch_ceiling_light
            name: Driveway
      - type: section
        label: Garage
      - type: buttons
        entities:
          - entity: switch.garage_light
            name: Garage
            icon: mdi:lightbulb
  - type: entities
    title: Upstairs
    icon: mdi:bed
    state_color: true
    entities:
      - type: section
        label: Hallway
      - type: buttons
        entities:
          - entity: light.in_wall_paddle_dimmer_qfsw_500s_2
            name: Hallway Upstairs
            icon: mdi:light-recessed
      - type: section
        label: Master Bedroom
        badges:
          - entity: sensor.upstairs_temperature
          - entity: binary_sensor.upstairs_occupancy
      - type: buttons
        entities:
          - type: button
            entity: switch.in_wall_paddle_switch_qfsw_500s_3
            icon: hass:fan
          - type: button
            icon: mdi:light-recessed
            name: Ceiling
            entity: switch.master_bedroom_ceiling_light
      - type: section
        label: Master Bath
      - type: buttons
        entities:
          - type: button
            entity: light.master_bathroom_vanity_light
            icon: mdi:wall-sconce-flat-variant
            name: Vanity
          - type: light
            entity: light.master_bathroom_closet_light
            icon: mdi:light-recessed
            name: Ceiling
          - type: light
      - type: section
        label: Marc/Guest Bath
      - type: buttons
        entities:
          - type: light
            entity: light.jill_bathroom_vanity_light
            name: J&J Bath Vanity
            icon: mdi:wall-sconce-flat-variant
  - type: entities
    title: Basement
    icon: mdi:select-color
    state_color: true
    entities:
      - type: section
        label: Studio
      - type: buttons
        entities:
          - entity: light.studio_front_light_2
            name: Front
            icon: mdi:light-recessed
      - type: section
        label: Storage
      - type: buttons
        entities:
          - entity: switch.storage_light
            icon: mdi:lightbulb
            name: Storage
      - type: gauge
        entity: sensor.brain_litter_waste_drawer
        name: Full
        unit: '%'
      - type: section
        label: Guest
      - type: buttons
        entities:
          - entity: switch.guest_bath_light
            icon: hass:lightbulb
            name: Guest Bath

were you able to manage this?