Commit graph

10 commits

Author SHA1 Message Date
Thiago Oliveira
71cab65df6 correct air index unit ()
AirVisual's air index unit is AQI (Air Quality Index), not PSI (Pressure per Square Inch). More details can be found at https://airvisual.com/

Cheers,
2018-02-26 22:39:26 -08:00
Aaron Bach
c7c0df53aa AirVisual: Entity Registry updates and cleanup ()
* AirVisual: Entity Registry updates and cleanup

* Small cleanup

* Owner-requested changes

* Changed hashing function

* Put a better class instatiation mechanism in place

* Small cleanup

* Reverting unintended breaking change

* Removing hashing as part of creating the unique ID

* Attempting to jumpstart Travis
2018-02-15 14:52:47 -08:00
Aaron Bach
3ad64b0a66 Fixes AirVisual bug regarding incorrect location data ()
* Fixes AirVisual bug regarding incorrect location data

* Owner-requested changes
2017-11-17 21:11:05 +01:00
Fabian Affolter
690760404b
Move constant to 'const.py' and use already defined ones () 2017-10-29 17:28:07 +01:00
Aaron Bach
9be7763144 Fixes () 2017-10-17 10:02:03 +02:00
Fabian Affolter
19a20b3b13 Move 'show_on_map' to const () 2017-10-07 15:11:41 +02:00
Aaron Bach
bd5b70c3cd Add show_on_map config option to AirVisual ()
* Removed lat/long attributes

* Linting

* Revised PR to focus on show_on_map configuration
2017-10-07 13:38:52 +02:00
Aaron Bach
aa0fc339c0 Various AirVisual bugfixes ()
* Various AirVisual bugfixes

* Updating requirements

* Added better logging for failed data retrieval
2017-09-24 21:25:18 +02:00
Aaron Bach
f3fc571cd5 Add city/state/country options and fix bugs for airvisual ()
* Added city/state/country options and fixed several bugs

* Added some slightly better error logging

* Making collaborator-requested changes
2017-09-16 10:32:24 +02:00
Aaron Bach
d1ef47384d Adds the AirVisual air quality sensor platform ()
* Adds the AirVisual air quality sensor platform

* Updated .coveragerc

* Removed some un-needed code

* Adding strangely-necessary pylint disable

* Removing a Python3.5-specific dict combiner method

* Restarting stuck coverage test

* Added units to AQI sensor (to get nice graph)

* Making collaborator-requested changes

* Removing unnecessary parameter from data object
2017-09-08 16:05:51 +02:00