Update icon of VOC

This commit is contained in:
2025-06-07 19:01:22 -04:00
parent 7fe3829544
commit 426684e9da

View File

@ -551,6 +551,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
@ -559,6 +560,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
@ -794,7 +796,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"};