Skip to content

Commit

Permalink
Add fix for AQI sensor taking 50 minutes to populate
Browse files Browse the repository at this point in the history
  • Loading branch information
MallocArray committed Jan 19, 2024
1 parent e34259a commit cbcdcd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sensor_pms5003.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sensor:
icon: "mdi:air-filter"
accuracy_decimals: 0
filters:
- skip_initial: 10 # Need valid data from PM 2.5 sensor before able to calculate
- skip_initial: 1 # Need valid data from PM 2.5 sensor before able to calculate
lambda: |-
// https://en.wikipedia.org/wiki/Air_quality_index#Computing_the_AQI
// Borrowed from https://github.com/kylemanna/sniffer/blob/master/esphome/sniffer_common.yaml
Expand Down
2 changes: 1 addition & 1 deletion packages/sensor_pms5003_extended_life.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sensor:
icon: "mdi:air-filter"
accuracy_decimals: 0
filters:
- skip_initial: 10 # Need valid data from PM 2.5 sensor before able to calculate
- skip_initial: 1 # Need valid data from PM 2.5 sensor before able to calculate
lambda: |-
// https://en.wikipedia.org/wiki/Air_quality_index#Computing_the_AQI
// Borrowed from https://github.com/kylemanna/sniffer/blob/master/esphome/sniffer_common.yaml
Expand Down

0 comments on commit cbcdcd0

Please sign in to comment.