Skip to content

Commit cbcdcd0

Browse files
committed
Add fix for AQI sensor taking 50 minutes to populate
1 parent e34259a commit cbcdcd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/sensor_pms5003.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sensor:
4646
icon: "mdi:air-filter"
4747
accuracy_decimals: 0
4848
filters:
49-
- skip_initial: 10 # Need valid data from PM 2.5 sensor before able to calculate
49+
- skip_initial: 1 # Need valid data from PM 2.5 sensor before able to calculate
5050
lambda: |-
5151
// https://en.wikipedia.org/wiki/Air_quality_index#Computing_the_AQI
5252
// Borrowed from https://github.com/kylemanna/sniffer/blob/master/esphome/sniffer_common.yaml

packages/sensor_pms5003_extended_life.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ sensor:
3131
icon: "mdi:air-filter"
3232
accuracy_decimals: 0
3333
filters:
34-
- skip_initial: 10 # Need valid data from PM 2.5 sensor before able to calculate
34+
- skip_initial: 1 # Need valid data from PM 2.5 sensor before able to calculate
3535
lambda: |-
3636
// https://en.wikipedia.org/wiki/Air_quality_index#Computing_the_AQI
3737
// Borrowed from https://github.com/kylemanna/sniffer/blob/master/esphome/sniffer_common.yaml

0 commit comments

Comments
 (0)