- type: custom:layout-card
  layout_type: custom:horizontal-layout
  layout:
    max_cols: 1
  cards:
    - type: custom:decluttering-card
      template: coloured-vertical-stack
      variables:
        - color: "#39445a"
        - cards:
          - type: custom:decluttering-card
            template: v3_title
            variables:
              - title: 👨‍👩‍👦 Guest Bedroom
          - type: horizontal-stack
            cards:
              # - type: custom:button-card
              #   template: v3_button_person
              #   entity: input_boolean.player_2_home
              #   styles:
              #     card:
              #       - background-image: url("/local/images/people/milena.jpg")
              - type: custom:button-card
                template: v3_chip
                entity: sensor.guest_bedroom_weather_temperature
              - type: custom:button-card
                template: v3_chip
                entity: sensor.guest_bedroom_weather_humidity

          - type: custom:decluttering-card
            template: v3_section_title
            variables:
              - title: Controls
          - type: horizontal-stack
            cards:
              - type: custom:button-card
                template: v3_button_light
                entity: light.tradfri_large
                name: Night stand
              - type: custom:button-card
                template: v3_button
                entity: input_select.guest_bedroom_mode
                icon: mdi:bed
                name: Mode
                tap_action:
                  action: call-service
                  service: input_select.select_next
                  service_data:
                    entity_id: input_select.guest_bedroom_mode

          - type: custom:decluttering-card
            template: v3_section_title
            variables:
              - title: Devices

          - type: horizontal-stack
            cards:
              - type: custom:button-card
                template: v3_button
                entity: sensor.mercury_temperature
                name: Mercury
                icon: mdi:nas

    - !include ../popup_cards.yaml
