epenet
98c81fa2af
Move airthings coordinator to separate module ( #129158 )
2024-10-26 02:29:57 +02:00
epenet
2cd4456762
Add missing hass type hint in component tests (a) ( #124059 )
2024-08-16 17:07:57 +02:00
epenet
8323266960
Use pytest.mark.parametrize in airthings_ble tests ( #119461 )
2024-06-12 12:23:24 +02:00
epenet
b8e57f6174
Use relative imports in tests [a-i] ( #119280 )
2024-06-10 12:52:34 +02:00
epenet
492b158818
Add return type hints in tests (a-i) ( #118939 )
2024-06-06 12:17:08 +02:00
epenet
83e77720e9
Improve type hints for mock_bluetooth/enable_bluetooth ( #118484 )
2024-05-30 22:16:45 -04:00
J. Nick Koston
2b2b46c774
Bump habluetooth to 3.0.1 ( #116663 )
2024-05-03 12:15:51 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Joost Lekkerkerker
9b41e3d124
Use is in enum comparison in config flow tests A-E ( #114669 )
2024-04-02 11:22:05 -10:00
Jan-Philipp Benecke
6e3e09f2c3
Use entity & device registry mocks instead of `hass.helpers` in airthings_ble tests ( #114520 )
2024-03-31 09:08:07 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Ståle Storø Hauknes
d2bd68ba30
Bump airthings_ble to 0.7.1 ( #113172 )
...
Co-authored-by: Ståle Storø Hauknes <LaStrada@users.noreply.github.com>
2024-03-12 15:48:36 -10:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
959826c4b4
Update byte string formatting ( #112752 )
2024-03-08 20:32:40 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Ståle Storø Hauknes
effd5b8ddd
Hide unsupported devices in Airthings BLE config flow ( #107648 )
2024-02-02 10:24:53 +01:00
Ståle Storø Hauknes
b858658516
Fix Airthings ble migration ( #100362 )
...
* Import Platform for tests
* Migration bugfix
* Store new unique id as a variable in tests
* Add comments to tests
2023-09-14 12:51:06 +02:00
Ståle Storø Hauknes
198532d51d
Airthings BLE unique id migration ( #99832 )
...
* Fix sensor unique id
* Add sensor identifiers
* Migrate entities to new unique id
* Fix linting issues
* Fix crash when migrating entity fails
* Change how entities are migrated
* Remve debug logging
* Remove unneeded async
* Remove migration code from init file
* Add migration code to sensor.py
* Adjust for loops to improve speed
* Bugfixes, improve documentation
* Remove old comment
* Remove unused function parameter
* Address PR feedback
* Add tests
* Improve tests and test data
* Refactor test
* Update logger level
Co-authored-by: J. Nick Koston <nick@koston.org>
* Adjust PR comments
* Address more PR comments
* Address PR comments and adjust tests
* Fix PR comment
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-12 09:59:54 -04:00
Ståle Storø Hauknes
b34ce3c792
Improve airthings ble ( #97905 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-07 07:15:51 -10:00
J. Nick Koston
c3043fb0ee
Bump bluetooth deps for bleak 0.20 ( #89925 )
...
Co-authored-by: K <z@kwi.li>
2023-03-20 12:06:15 +01:00
epenet
07a1a0efa9
Add type hints to integration tests (part 1) ( #87777 )
2023-02-09 16:09:13 +01:00
Franck Nijhof
a79885ceaf
Enable Ruff SIM117 ( #86783 )
2023-01-27 11:52:49 +01:00
J. Nick Koston
d12cbab6c4
Bump bleak to 0.19.0 ( #80349 )
2022-10-15 13:57:23 -04:00
Marc Mueller
a63c9e8fb9
Update python-typing-update to 0.5.0 ( #80315 )
2022-10-14 13:21:37 +02:00
Vincent Giorgi
d5b966d942
Add Airthings BLE component ( #77284 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-29 15:55:45 -04:00