title: Kitchen
views:
  - type: sections
    title: Kitchen
    path: kitchen
    icon: mdi:stove
    max_columns: 3
    sections:

      - type: grid
        column_span: 2
        cards:
          - type: heading
            icon: mdi:stove
            heading: Kitchen
            heading_style: title

          - type: tile
            entity: light.kitchen_above_sink
            name: Above Sink
            icon: mdi:ceiling-light
            vertical: true
            features_position: bottom
            features:
              - type: light-brightness
            tap_action:
              action: toggle

          - type: grid
            columns: 2
            square: false
            cards:
              - type: tile
                entity: light.kitchen_light_1
                name: Light 1
                icon: mdi:ceiling-light
                vertical: true
                features:
                  - type: light-brightness
              - type: tile
                entity: light.kitchen_light_2
                name: Light 2
                icon: mdi:ceiling-light
                vertical: true
                features:
                  - type: light-brightness
              - type: tile
                entity: light.kitchen_light_3
                name: Light 3
                icon: mdi:ceiling-light
                vertical: true
                features:
                  - type: light-brightness
              - type: tile
                entity: light.kitchen_light_4
                name: Light 4
                icon: mdi:ceiling-light
                vertical: true
                features:
                  - type: light-brightness

          - type: horizontal-stack
            cards:
              - type: button
                name: All On
                icon: mdi:lightbulb-group
                tap_action:
                  action: call-service
                  service: light.turn_on
                  target:
                    entity_id:
                      - light.kitchen_above_sink
                      - light.kitchen_light_1
                      - light.kitchen_light_2
                      - light.kitchen_light_3
                      - light.kitchen_light_4
              - type: button
                name: All Off
                icon: mdi:lightbulb-group-off
                tap_action:
                  action: call-service
                  service: light.turn_off
                  target:
                    entity_id:
                      - light.kitchen_above_sink
                      - light.kitchen_light_1
                      - light.kitchen_light_2
                      - light.kitchen_light_3
                      - light.kitchen_light_4
              - type: button
                name: Cooking
                icon: mdi:chef-hat
                tap_action:
                  action: call-service
                  service: light.turn_on
                  data:
                    brightness_pct: 100
                    color_temp_kelvin: 4000
                  target:
                    entity_id:
                      - light.kitchen_above_sink
                      - light.kitchen_light_1
                      - light.kitchen_light_2
                      - light.kitchen_light_3
                      - light.kitchen_light_4
              - type: button
                name: Dim
                icon: mdi:weather-night
                tap_action:
                  action: call-service
                  service: light.turn_on
                  data:
                    brightness_pct: 20
                    color_temp_kelvin: 2700
                  target:
                    entity_id:
                      - light.kitchen_above_sink
                      - light.kitchen_light_1
                      - light.kitchen_light_2
                      - light.kitchen_light_3
                      - light.kitchen_light_4

      - type: grid
        column_span: 1
        cards:
          - type: heading
            icon: mdi:chart-line
            heading: Health
            heading_style: title

          - type: entities
            title: Bulb Status
            show_header_toggle: false
            entities:
              - entity: binary_sensor.kitchen_above_sink_cloud_connection
                name: Above Sink - Cloud
              - entity: binary_sensor.kitchen_above_sink_overheated
                name: Above Sink - Overheat
              - entity: binary_sensor.kitchen_light_1_cloud_connection
                name: Light 1 - Cloud
              - entity: binary_sensor.kitchen_light_2_cloud_connection
                name: Light 2 - Cloud
              - entity: binary_sensor.kitchen_light_3_cloud_connection
                name: Light 3 - Cloud
              - entity: binary_sensor.kitchen_light_4_cloud_connection
                name: Light 4 - Cloud

          - type: entities
            title: Signal Strength
            show_header_toggle: false
            entities:
              - entity: sensor.kitchen_above_sink_signal_level
                name: Above Sink
              - entity: sensor.kitchen_light_1_signal_level
                name: Light 1
              - entity: sensor.kitchen_light_2_signal_level
                name: Light 2
              - entity: sensor.kitchen_light_3_signal_level
                name: Light 3
              - entity: sensor.kitchen_light_4_signal_level
                name: Light 4
