Commit graph

7 commits

Author SHA1 Message Date
epenet
3a40f5f35b
Add missing mock in airvisual_pro config flow tests () 2023-03-08 15:18:24 +00:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
07a1a0efa9
Add type hints to integration tests (part 1) () 2023-02-09 16:09:13 +01:00
Aaron Bach
34b5928707
Use serial number for AirVisal Pro config entry unique ID ()
* Use serial number for AirVisal Pro config entry unique ID

* Code review
2023-01-01 14:17:34 +01:00
Aaron Bach
09ae02fd56
Migrate AirVisual Pro devices to the airvisual_pro domain ()
* Migration AirVisual Pro devices to the `airvisual_pro` domain

* Fix tests

* Remove airvisual_pro dependency

* Add repairs item

* Only fire repairs issue if automations exist

* Fix tests
2022-12-19 10:48:36 -07:00
Aaron Bach
4c73826baf
Add re-auth flow to AirVisual Pro ()
* Add re-auth flow to AirVisual Pro

* Code review
2022-12-18 11:00:08 -07:00
Aaron Bach
3d4ee5906d
Add integration for AirVisual Pro ()
* Add integration for AirVisual Pro

* Tests

* A few more redactions

* Loggers

* Consistency

* Remove unnecessary f-string

* Use `entry.as_dict()` in diagnostics

* One call

* Integration types

* Cleanup

* Import cleanup

* Code review

* Code review

* Code review
2022-12-12 14:28:27 -07:00