some small changes
This commit is contained in:
@@ -546,7 +546,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
weather.aqi_desc = aqi_desc;
|
||||
weather.aqi_val = aqi_val;
|
||||
|
||||
if aqi_val >= 4 {
|
||||
if aqi_val >= 5 {
|
||||
send_notification("Air Quality Warning", &format!("Air quality in 95662 is concerning: {}", weather.aqi_desc), "critical");
|
||||
}
|
||||
last_aqi_fetch = Instant::now();
|
||||
|
||||
Reference in New Issue
Block a user