- type: custom:mod-card
  style:
    layout-card:
      .: |
        * {
          --primary-color: #188A9C
        }

      $:
        horizontal-layout:
          $:
            .: |
              #columns {
                margin: 0 20px;
                grid-gap: 20px;
              }
  card:
    type: custom:layout-card
    layout_type: custom:horizontal-layout
    layout:
      max_cols: 3
    cards:
      - type: vertical-stack
        cards:
          - type: custom:decluttering-card
            template: v3_title
            variables:
              - title: Hallway
          - type: horizontal-stack
            cards:
              - type: custom:button-card
                template: v3_badge_temp
                entity: sensor.hallway_weather_temperature
              - type: custom:button-card
                template: v3_badge_humidity
                entity: sensor.hallway_weather_humidity
              - type: custom:button-card
                template: v3_badge_icon
                entity: binary_sensor.hallway_motion_occupancy
              - type: custom:button-card
                template: v3_badge_icon
                entity: binary_sensor.front_door

          - type: custom:decluttering-card
            template: v3_section_title
            variables:
              - title: Lights
          - type: horizontal-stack
            cards:
              - type: custom:button-card
                template: v3_button_light
                entity: light.hallway
                name: All
              - type: custom:button-card
                template: v3_button_light
                entity: light.hallway_main
                name: Main
              - type: custom:button-card
                template: v3_button_light
                entity: light.hallway_entrance
                name: Entrance
