Example Functional Card - Series 2 Awair Element Cards Awair Element Cards #1 Series 2 will be released in 2025!
Visualization These cards are specifically made for the Awair Element hardware and the way Awair does the grading and calculation of the overall score.
There are 3 variations of this card.
Awair Card #1a
The card that almost matches the Awair App display. It adds the history of the overall air quality score showing a 24 hour history.
Awair Card #1a
Awair Card #1b
The same as #1a, but now the overall air quality score shows the history of today. For each sensor, a radial_barcode/sun_burst type of sparkline displays today's history.
Awair Card #1b
Awair Card #1c
The same as #1b, but using barcode/audio sparkline chart to display the sensor history.
Awair Card #1c
Description Aspect Ratio Target Size Cards that show Awair sensor data in different ways. varying Grid with 1 column
Interaction Part Description Card All tools connected to an entity do show by default the "more-info" dialog once clicked
Awair Element Card #1a 4.0.1
This card shows the following data:
The location of the Awair Element (Living in this case) The actual "Air Quality" score (94) The history of the "Air Quality" score for this day: only the average in an "Area" sparkline chart For each sensor: The Awair grading dots The actual sensor value
Usage Replace example entities with your entities!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 - type : 'custom:swiss-army-knife-card'
entities :
- entity : sensor.awair_element_livingroom_score
name : 'Score'
area : 'Living'
- entity : sensor.awair_element_livingroom_temperature
name : 'Temp'
area : 'Living'
- entity : sensor.awair_element_livingroom_humidity
name : 'Humidity'
area : 'Living'
decimals : 0
- entity : sensor.awair_element_livingroom_carbon_dioxide
name : 'CO2'
area : 'Living'
- entity : sensor.awair_element_livingroom_volatile_organic_compounds
name : 'Chemicals'
area : 'Living'
- entity : sensor.awair_element_livingroom_pm2_5
name : 'PM2.5'
area : 'Living'
layout :
template :
name : sak_layout_fce2_awair1a
Awair Element Card #1b 4.0.1
This card shows the following data:
The location of the Awair Element (Study in this case) The actual "Air Quality" score (946 The history of the "Air Quality" over the last 24 hours: average and min/max are shown in an "Area" sparkline chart For each sensor: The Awair grading dots The actual sensor value Today's history with a radial_barcode/sun_burst type of sparkline chart
Usage Replace example entities with your entities!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 - type : 'custom:swiss-army-knife-card'
entities :
- entity : sensor.awair_element_study_score
name : 'Score'
area : 'Study'
- entity : sensor.awair_element_study_temperature
name : 'Temp'
area : 'Study'
- entity : sensor.awair_element_study_humidity
name : 'Humidity'
area : 'Study'
decimals : 0
- entity : sensor.awair_element_study_carbon_dioxide
name : 'CO2'
area : 'Study'
- entity : sensor.awair_element_study_volatile_organic_compounds
name : 'Chemicals'
area : 'Study'
- entity : sensor.awair_element_study_pm2_5
name : 'PM2.5'
area : 'Study'
layout :
template :
name : sak_layout_fce2_awair1b
YAML Template Definition 4.0.1
Full definition of layout template Awair Element Card #1c 4.0.1
This card shows the following data:
The location of the Awair Element (Study in this case) The actual "Air Quality" score (96) The history of the "Air Quality" over the last 24 hours: average and min/max are shown in an "Area" sparkline chart For each sensor: The Awair grading dots The actual sensor value Today's history with a barcode/audio type of sparkline chart
Usage Replace example entities with your entities!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 - type : 'custom:swiss-army-knife-card'
entities :
- entity : sensor.awair_element_study_score
name : 'Score'
area : 'Study'
- entity : sensor.awair_element_study_temperature
name : 'Temp'
area : 'Study'
- entity : sensor.awair_element_study_humidity
name : 'Humidity'
area : 'Study'
decimals : 0
- entity : sensor.awair_element_study_carbon_dioxide
name : 'CO2'
area : 'Study'
- entity : sensor.awair_element_study_volatile_organic_compounds
name : 'Chemicals'
area : 'Study'
- entity : sensor.awair_element_study_pm2_5
name : 'PM2.5'
area : 'Study'
layout :
template :
name : sak_layout_fce2_awair1c
YAML Template Definition 4.0.1
Full definition of layout template