Commit Graph

11 Commits (0f725a24bdd504382baa125e94e72cc862e760c2)

Author SHA1 Message Date
epenet 959c2205d5
Add missing mock in airvisual config flow tests (#89359) 2023-03-08 10:18:07 -05:00
Franck Nijhof ef800335fb
Enable Ruff PT022 (#86792)
* Enable Ruff PT022

* Adjust found cases
2023-01-27 13:57:06 +01:00
Erik Montnemery f17a829bd8
Only wait for import flows to initialize at setup (#86106)
* Only wait for import flows to initialize at setup

* Update hassio tests

* Update hassio tests

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-18 10:44:18 +01:00
Aaron Bach 6e9d3bf8e9
Renovate Airvisual tests (#84892)
* Renovate AirVisual tests

* Cleanup

* Package scope

* Update tests/components/airvisual/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-04 13:05:37 -07:00
Aaron Bach 34dc47ad10
Ensure AirVisual Pro migration includes device and entity customizations (#84798)
* Ensure AirVisual Pro migration includes device and entity customizations

* Update homeassistant/components/airvisual/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Code review

* Fix tests

* Fix tests FOR REAL

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-30 14:47:41 -07:00
Aaron Bach 1cf801afbc
Remove unnecessary session scoping to several test fixtures (#80500)
Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-10-18 18:06:23 +02:00
Aaron Bach 02fe7fe897
Revert "Don't import from integration `.const` (#64608)" (#64793) 2022-01-23 23:10:48 +01:00
Aaron Bach d634a08361
Don't import from integration `.const` (#64608) 2022-01-20 23:25:08 -08:00
Aaron Bach 05b8da11a3
Add diagnostics for the AirVisual integration (#64479)
* Add diagnostics for AirVisual config entries

* Tests

* More

* Tests

* Code review

* Fix tests
2022-01-19 15:28:18 -07:00
Aaron Bach 4d72e41a3e
Perform some more AirVisual test cleanup (#64470)
* Perform some more AirVisual test cleanup

* Smarter startup patch

* Simplify
2022-01-19 14:32:52 -07:00
Aaron Bach 573e17472b
Clean up AirVisual tests (#64402)
* Simplify AirVisual tests

* First fixture

* More

* Fixture

* More
2022-01-19 11:52:24 -07:00