Update AQ more frequently
This commit is contained in:
parent
8e1a9e85de
commit
0deec65575
@ -516,6 +516,7 @@ sensor:
|
|||||||
icon: "mdi:gauge"
|
icon: "mdi:gauge"
|
||||||
unit_of_measurement: "%"
|
unit_of_measurement: "%"
|
||||||
accuracy_decimals: 0
|
accuracy_decimals: 0
|
||||||
|
update_interval: 5s
|
||||||
# Calculation from https://github.com/thstielow/raspi-bme680-iaq
|
# Calculation from https://github.com/thstielow/raspi-bme680-iaq
|
||||||
lambda: |-
|
lambda: |-
|
||||||
float ph_slope = 0.03;
|
float ph_slope = 0.03;
|
||||||
@ -619,7 +620,7 @@ text_sensor:
|
|||||||
- platform: template
|
- platform: template
|
||||||
name: "BME680 AQ Classification"
|
name: "BME680 AQ Classification"
|
||||||
icon: "mdi:air-filter"
|
icon: "mdi:air-filter"
|
||||||
update_interval: 15s
|
update_interval: 5s
|
||||||
lambda: |-
|
lambda: |-
|
||||||
int aq = int(id(bme680_aq).state);
|
int aq = int(id(bme680_aq).state);
|
||||||
if (aq >= 90) {
|
if (aq >= 90) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user