Commit Graph

101 Commits (af0f540dd48181172e800a92657a5007aac6b52f)

Author SHA1 Message Date
Marc Mueller 44049c34f9
Use PEP 695 type alias for ConfigEntry types (#117632) 2024-05-17 15:42:58 +02:00
Sean Chen b6a530c405
Add PM10 sensor to AirNow (#117432) 2024-05-14 21:17:09 +02:00
Sid 2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Marc Mueller 8e7026d643
Use runtime_data for airnow (#116619) 2024-05-02 21:00:05 +02:00
Marc Mueller aa16a9d707
Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc Mueller 2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
Joost Lekkerkerker 153b1947fa
Remove entity description mixin in AirNow (#112376) 2024-03-05 21:43:48 +01:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
J. Nick Koston b3e46e3d64
Update airnow to set ConfigEntry version with async_update_entry (#110202) 2024-02-10 19:55:38 +01:00
Joost Lekkerkerker 3a6e640c73
Add icon translations to Airnow (#108403) 2024-01-19 20:09:12 +01:00
Joost Lekkerkerker e469c6892b
Add Airnow to strict typing (#105566) 2023-12-23 15:16:15 -10:00
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Chris Xiao 37757f777f
AirNow sensors should share device identifier (#103279)
* Entities from the same config entry should have the same device identifier
* Clean up unused device entries with no entities after sensor setup

Co-authored-by: James Pan <32176676+jzpan1@users.noreply.github.com>
Co-authored-by: Theo Ma <62950302+t1an-xyz@users.noreply.github.com>
Co-authored-by: Jonathan McDevitt <69861492+Jonmcd1@users.noreply.github.com>
Co-authored-by: Jadon Yack <86989502+jadonyack@users.noreply.github.com>
Co-authored-by: Ashton Foley <121987068+foleyash@users.noreply.github.com>
Co-authored-by: Leon Yan <138124222+leony7@users.noreply.github.com>
2023-11-04 13:16:40 +01:00
Whitney Young 2c3067b9c2
Fix date observed is not sent by AirNow (#101921) (#101977)
* Fix mixed up keys

These were accidentally the wrong values, but never passed on
to the end user.

* Fix date observed is not sent by AirNow (#101921)
2023-10-15 19:48:47 +02:00
J.P. Krauss 01ecef7f05
Fix error is measurement is not sent by AirNow (#100477) 2023-09-16 18:16:15 +02:00
Jan-Philipp Benecke bbc390837e
Move airnow coordinator to its own file (#99423) 2023-09-01 08:29:07 +02:00
J.P. Krauss 95c03b4192
Add Options Flow to change radius after initial configuration (#97285)
* Add Options Flow to change radius after initial configuration

* Add tests for Options Flow

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Incorporate review suggestions

* Fix diagnostics test case

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Incorporate review suggestions

* Revert "Incorporate review suggestions"

This reverts commit 421e140a4fc78da22ea74c95cd1a17f9305ebbf6.

* Fix broken review comments

* Incorporate rest of review comments

* Incorporate rest of review comments

* Use Config Entry Migration

* Remove old migration code

* Update diagnostics snapshot for config entry migration

* Incorporate review feedback

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-28 21:21:52 +02:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
J.P. Krauss 70cb8afb94
Add AirNow Reporting Station as sensor (#97273)
* Add AirNow Reporting Station as sensor attribute

* Make Reporting Station a sensor instead of attribute as requested

* Update homeassistant/components/airnow/strings.json

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Fix reporting station attribute names to avoid showing on map

* Add attribute name translations

* Update homeassistant/components/airnow/strings.json

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-27 21:19:16 +02:00
J.P. Krauss 7113db8da4
Improve AirNow Configuration Error Handling (#97267)
* Fix config flow error handling when no data is returned by AirNow API

* Add test for PyAirNow EmptyResponseError

* Typo Fix
2023-07-26 21:30:25 +02:00
Joost Lekkerkerker c503becd9a
Make AirNow use device class (#94986) 2023-06-22 15:58:14 +02:00
Joost Lekkerkerker d6dc738a12
Add entity translations for AirNow (#94175)
* Add entity translations for AirNow

* Restore keys

* Restore keys
2023-06-20 22:24:51 +02:00
J.P. Krauss b5ead9e76f
Bump pyairnow to 1.2.1 (#88516) 2023-02-21 11:09:18 +01:00
Erik Montnemery 231aad7a68
Sort manifests 1 (#87022) 2023-02-08 20:29:44 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
GitHub Action 6220804639 [ci skip] Translation update 2023-01-02 00:23:28 +00:00
Franck Nijhof b0cee0bc46
String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
GitHub Action 388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
Aaron Bach eae96eb4c2
Add diagnostics to AirNow (#79904) 2022-10-13 07:31:33 -06:00
GitHub Action 39ddc37d76 [ci skip] Translation update 2022-09-26 00:30:11 +00:00
GitHub Action 6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
Franck Nijhof 22eba6ce1b
Remove attribution from extra state attributes (#76172) 2022-08-04 08:13:20 +02:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
GitHub Action 405d323709 [ci skip] Translation update 2022-07-08 00:27:47 +00:00
GitHub Action 33c263d09b [ci skip] Translation update 2022-06-23 00:20:13 +00:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Paulus Schoutsen 5eee600fa8
Ban brand name translations as step titles (#68801) 2022-03-28 10:41:39 -07:00
Marc Mueller 1072aff017
Update coordinator typing (1) [a-c] (#68442) 2022-03-21 15:49:39 +01:00
GitHub Action c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00