Update icon for VOC
This commit is contained in:
parent
cf50c602d7
commit
bbac58056d
@ -91,6 +91,7 @@ sensor:
|
|||||||
name: "SGP30 eCO2"
|
name: "SGP30 eCO2"
|
||||||
id: sgp30_eco2
|
id: sgp30_eco2
|
||||||
accuracy_decimals: 1
|
accuracy_decimals: 1
|
||||||
|
icon: mdi:molecule-co2
|
||||||
filters:
|
filters:
|
||||||
- sliding_window_moving_average:
|
- sliding_window_moving_average:
|
||||||
window_size: 20
|
window_size: 20
|
||||||
@ -99,6 +100,7 @@ sensor:
|
|||||||
name: "SGP30 TVOC"
|
name: "SGP30 TVOC"
|
||||||
id: sgp30_tvoc
|
id: sgp30_tvoc
|
||||||
accuracy_decimals: 1
|
accuracy_decimals: 1
|
||||||
|
icon: mdi:molecule
|
||||||
filters:
|
filters:
|
||||||
- sliding_window_moving_average:
|
- sliding_window_moving_average:
|
||||||
window_size: 20
|
window_size: 20
|
||||||
@ -229,7 +231,7 @@ text_sensor:
|
|||||||
# VOC Level
|
# VOC Level
|
||||||
- platform: template
|
- platform: template
|
||||||
name: "VOC Level"
|
name: "VOC Level"
|
||||||
icon: mdi:radiator
|
icon: mdi:molecule
|
||||||
lambda: |-
|
lambda: |-
|
||||||
int tvoc = id(sgp30_tvoc).state;
|
int tvoc = id(sgp30_tvoc).state;
|
||||||
if (tvoc < 65) return {"Great"};
|
if (tvoc < 65) return {"Great"};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user