bedroom_temperature_card:
  card:
    type: vertical-stack
    cards:
      - type: "custom:mini-graph-card"
        entities:
          - sensor.bedroom_weather_temperature
        cache: false
        group_by: hour
        hours_to_show: 72
        line_width: 2
        show:
          average: true
          extrema: true
          fill: true
        color_thresholds:
          - value: 19
            color: "var(--color-blue)"
          - value: 20.5
            color: "var(--color-green)"
          - value: 22
            color: "var(--color-red)"

      - type: horizontal-stack
        cards:
          - type: "custom:mini-graph-card"
            name: Humidity
            font_size: 75
            icon: "mdi:water"
            line_color: "var(--color-blue)"
            line_width: 8
            entities:
              - sensor.bedroom_weather_humidity

          - type: "custom:mini-graph-card"
            entities:
              - sensor.bedroom_weather_pressure
            font_size: 75
            line_color: "var(--color-blue)"
            line_width: 8

          - type: "custom:mini-graph-card"
            name: Air Quality
            font_size: 75
            icon: "mdi:weather-windy"
            line_color: "var(--color-blue)"
            line_width: 8
            entities:
              - sensor.purifier_air_quality
