Awair Element Cards #3
Series 2 will be released in 2025!
Visualization¶
These cards mimic the display of an Awair Element.
The graphs are not specifically for Awair sensor data. They can be used for other sensors too!
There are 3 variations of this card.
Description | Aspect Ratio | Target Size |
---|---|---|
A cards show Awair sensor data in different ways. | 1/1 | Grid with 2 columns |
Interaction¶
Part | Description |
---|---|
Card | All tools connected to an entity do show by default the "more-info" dialog once clicked |
Awair Element Card #3a¶
The "original" Awair card that mimics the way Awair shows all of its sensors and the overal "air quality" index ranging from 0 to 100.
Design¶
The Awair cards are very similar to the sensor #4 design: the latter was derived from the original Awair sensor cards!. It has a 1/1 aspectratio and is meant to be part of a grid with 2 columns in order to be readable on mobile devices.
Description | Aspect Ratio | Target Size |
---|---|---|
A specific Card for Awair Element hardware that mimics the Awair way of showing graded sensor data using dots for each of the 5 sensors ranging from green (OK) to red (very bad). | 1/1 | Grid with 2 columns |
Tools used¶
The card is built with 12 tools. You can find the numbers as 'dref: 1' in the template itself for easy referencing.
Number | Tool | Description |
---|---|---|
1 | circle | Circle as background for the icon. Background color is determined by the colorstop for the main entity |
2 | icon | Icon of the entity |
3 | segarc | SegArc around the circle. Color according to the colorstop for the entity |
4 | state | State that displays the value of the entity |
5 | area | Location of the entity |
6 | name | Short description of the entity's sensor |
7 | icon | Icon as background for the card. Can be switched on/off |
8..12 | sparkline | Sparkline showing Awair alike values of the 5 sensors: temperature, humidity, CO2, VOC and PM2.5 |
Template variables for sak_layout_fce2_sensor4
¶
There are no template variables for this template card.
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 25 |
|
YAML Template Definition¶
Full definition of layout template
1 |
|
Awair Element Card #3b¶
A slightly changed version compared to the #3a version: Icons are added below each column of dots, so you don't have to memorize which colomn is which sensor...
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 25 |
|
YAML Template Definition¶
Full definition of layout template
1 |
|
Awair Element Card #3c¶
A variant of #3b: now with bigger rounded rectangles instead of tiny circles for a larger display of the sensors colors.
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 25 |
|
YAML Template Definition¶
Full definition of layout template
1 |
|