jasonsnell / PurpleAir-AQI-Scriptable-Widget

Generate Scriptable app widget to query PurpleAir sensor and display local AQI.
The Unlicense
168 stars 38 forks source link

Fix: only get location if SENSOR_ID is not provided; find nearest sensor in O(n) time #11

Closed a-ogilvie closed 4 years ago

a-ogilvie commented 4 years ago

This PR adds improvements suggested in #10, and builds on #8. Namely:

Thanks to @lickel and @eventualbuddha for the suggestions!

P.S. @jasonsnell good luck with the draft next week! Hoping you crush iMyke! 🤞 P.P.S. Happy Birthday! 🎉 🍰 5️⃣ 0️⃣