{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace.air_quality",
  "data": {
    "config": {
      "views": [
        {
          "theme": "Backend-selected",
          "title": "Home",
          "type": "custom:grid-layout",
          "layout": {
            "max_cols": 3,
            "grid-template-columns": "32% 34% 34%",
            "grid-template-rows": "auto",
            "mediaquery": {
              "(max-width: 600px)": {
                "grid-template-columns": "100%"
              },
              "(max-width: 1200px)": {
                "grid-template-columns": "50% 50%"
              }
            }
          },
          "cards": [
            {
              "type": "vertical-stack",
              "cards": [
                {
                  "title": "Awair Score (3m)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "day",
                  "days_to_show": 90,
                  "hide_legend": true,
                  "logarithmic_scale": false,
                  "stat_types": [
                    "min",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_awair_score",
                      "name": "Score"
                    }
                  ]
                }
              ]
            },
            {
              "type": "vertical-stack",
              "cards": [
                {
                  "title": "CO2 (3m)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "day",
                  "days_to_show": 90,
                  "hide_legend": true,
                  "logarithmic_scale": false,
                  "stat_types": [
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_carbon_dioxide",
                      "name": "CO2"
                    }
                  ]
                },
                {
                  "title": "PM2.5 (3m)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "day",
                  "days_to_show": 90,
                  "hide_legend": true,
                  "logarithmic_scale": false,
                  "stat_types": [
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_pm2_5",
                      "name": "PM2.5"
                    }
                  ]
                },
                {
                  "title": "VOCs (3m)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "day",
                  "days_to_show": 90,
                  "hide_legend": true,
                  "logarithmic_scale": false,
                  "stat_types": [
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_volatile_organic_compounds",
                      "name": "VOCs"
                    }
                  ]
                }
              ]
            },
            {
              "type": "vertical-stack",
              "cards": [
                {
                  "title": "Temperature (3m)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "day",
                  "days_to_show": 90,
                  "hide_legend": false,
                  "logarithmic_scale": false,
                  "stat_types": [
                    "min",
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_temperature",
                      "name": "Bedroom"
                    },
                    {
                      "entity": "sensor.ble_temperature_a4c138bfa169",
                      "name": "Living"
                    },
                    {
                      "entity": "sensor.hall_smoke_temperature",
                      "name": "Hall"
                    }
                  ]
                },
                {
                  "title": "Humidity (3m)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "day",
                  "days_to_show": 90,
                  "hide_legend": false,
                  "logarithmic_scale": false,
                  "stat_types": [
                    "min",
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_humidity",
                      "name": "Humidity"
                    }
                  ]
                }
              ]
            },
            {
              "type": "vertical-stack",
              "cards": [
                {
                  "title": "Awair Score (1y)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "week",
                  "days_to_show": 365,
                  "hide_legend": true,
                  "logarithmic_scale": false,
                  "stat_types": [
                    "min",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_awair_score",
                      "name": "Score"
                    }
                  ]
                }
              ]
            },
            {
              "type": "vertical-stack",
              "cards": [
                {
                  "title": "CO2 (1y)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "week",
                  "days_to_show": 365,
                  "hide_legend": true,
                  "logarithmic_scale": true,
                  "stat_types": [
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_carbon_dioxide",
                      "name": "CO2"
                    }
                  ]
                },
                {
                  "title": "PM2.5 (1y)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "week",
                  "days_to_show": 365,
                  "hide_legend": true,
                  "logarithmic_scale": true,
                  "stat_types": [
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_pm2_5",
                      "name": "PM2.5"
                    }
                  ]
                },
                {
                  "chart_type": "line",
                  "period": "week",
                  "title": "VOCs (1y)",
                  "type": "statistics-graph",
                  "days_to_show": 365,
                  "hide_legend": true,
                  "logarithmic_scale": true,
                  "stat_types": [
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_volatile_organic_compounds",
                      "name": "VOCs"
                    }
                  ]
                }
              ]
            },
            {
              "type": "vertical-stack",
              "cards": [
                {
                  "title": "Temperature (1y)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "week",
                  "days_to_show": 365,
                  "hide_legend": false,
                  "logarithmic_scale": false,
                  "stat_types": [
                    "min",
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_temperature",
                      "name": "Bedroom"
                    },
                    {
                      "entity": "sensor.ble_temperature_a4c138bfa169",
                      "name": "Living"
                    },
                    {
                      "entity": "sensor.hall_smoke_temperature",
                      "name": "Hall"
                    }
                  ]
                },
                {
                  "title": "Humidity (1y)",
                  "type": "statistics-graph",
                  "chart_type": "line",
                  "period": "week",
                  "days_to_show": 365,
                  "hide_legend": false,
                  "logarithmic_scale": false,
                  "stat_types": [
                    "min",
                    "max",
                    "mean"
                  ],
                  "entities": [
                    {
                      "entity": "sensor.air_monitor_humidity",
                      "name": "Humidity"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  }
}