Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Joost Lekkerkerker
e47ed16980
Use snapshot testing in Airly sensor ( #108608 )
...
* Use snapshot testing in Airly sensor
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev>
* Fix tests
---------
Co-authored-by: Robert Resch <robert@resch.dev>
2024-01-22 20:59:24 +01:00
Franck Nijhof
04e0e2bd75
Update a* tests to use device & entity registry fixtures ( #103711 )
2023-11-09 20:46:20 +01:00
Franck Nijhof
ce16d8eeac
Rename Particulate matter sensors to PM ( #91384 )
2023-04-14 09:43:15 +02:00
Maciej Bieniek
cacd6708f0
Use the default entity names in Airly ( #90693 )
2023-04-03 10:50:24 +02:00
epenet
2545694d41
Add type hints to integration tests (a) ( #87684 )
...
* Add type hints to accuweather tests
* Adjust a** components
* Adjust aiohttp_client
* ClientSessionGenerator/WebSocketGenerator
2023-02-08 12:16:23 +01:00
Erik Montnemery
bcc1aa03b4
Move sensor rounding to frontend ( #87330 )
...
* Move sensor rounding to frontend
* Update integrations
* Add comment
2023-02-04 14:54:36 -05:00
Maciej Bieniek
5f57648578
Use more human-readable sensor names in Airly ( #86893 )
...
* Use more human-readable sensor names
* Use abbreviations for long names
2023-01-30 08:29:06 -05:00
Michael
2850583085
Replace the usage of unit constants by enumerations in Tests [a-e] ( #85932 )
2023-01-15 14:44:01 +01:00
Maciej Bieniek
6baa905448
Abort config flow if Airly measuring station does not exist ( #85652 )
...
* Abort if there is no sensor in the area
* Add test
* Increase test coverage
2023-01-13 14:35:52 +01:00
Maciej Bieniek
8ff12eacd4
Do not use AQI device class for CAQI sensor in Airly integration ( #79402 )
2022-10-01 16:33:11 +02:00
Kenneth J. Miller
3b653de3fd
Fix Airly CO sensor unit ( #78649 )
2022-09-19 15:35:13 +02:00
epenet
c5a56dab42
Apply hass-relative-import to tests (a-c) ( #78728 )
2022-09-19 09:48:25 +02:00
Kenneth J. Miller
84cd0da26b
Add Airly gas sensors ( #77908 )
...
* Add support for gases queryable via Airly API:
CO, NO₂, O₃, SO₂
* Add tests for above sensors and update test fixtures
2022-09-16 15:19:30 -06:00
Josh Soref
eda806ca12
spelling: components/airly ( #64266 )
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 19:22:11 -08:00
Dave T
4f7182a41a
Use DeviceClass Enums in airly tests ( #61989 )
2021-12-16 20:59:25 +01:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
Maciej Bieniek
bd550c4559
Use AQI, PM1, PM25, PM10 device classes in Airly ( #54742 )
2021-08-18 02:40:06 +02:00
Maciej Bieniek
3d556f14a5
Remove `air_quality` platform from Airly integration ( #52225 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-28 10:15:56 +02:00
Maciej Bieniek
c9178e58b5
Add support for state class for Airly sensor ( #51285 )
2021-05-31 16:00:58 +02:00
Erik Montnemery
78b21b1ad1
Update tests a-b to use async_get() instead of async_get_registry() ( #47651 )
2021-03-09 14:24:34 +01:00
Maciej Bieniek
94e1f8e631
Refactor Airly tests ( #44315 )
2020-12-17 16:44:46 +01:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Maciej Bieniek
ad0560ef37
Improve tests for Airly integration ( #38357 )
...
* Add tests
* More tests
* Add PARALLEL_UPDATES
* Change Quality scale to platinum
* Change PARALLEL_UPDATES value
2020-07-30 08:41:18 -10:00