Commit Graph

73 Commits (dev)

Author SHA1 Message Date
Ståle Storø Hauknes 4086d092ff
Add suggested precision for Airthings BLE integration (#134985)
Add suggested precision
2025-01-08 21:05:42 +01:00
Ståle Storø Hauknes 7ab8ff56b3
Bump Airthings BLE to 0.9.2 (#129659)
Bump airthings ble
2024-11-04 08:11:18 +01:00
epenet 98c81fa2af
Move airthings coordinator to separate module (#129158) 2024-10-26 02:29:57 +02:00
Ståle Storø Hauknes 51fd8e1288
Bump airthings-ble to 0.9.1 (#124658) 2024-08-26 13:59:28 -10:00
epenet e7ce01e649
Enforce namespace import in components (#118218) 2024-05-27 12:50:11 +02:00
Sid 2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
J. Nick Koston d970c19342
Fix airthings-ble data drop outs when Bluetooth connection is flakey (#116805)
* Fix airthings-ble data drop outs when Bluetooth adapter is flakey

fixes #116770

* add missing file

* update
2024-05-05 16:37:10 -04:00
Marc Mueller 0977ad017d
Use runtime_data for airthings_ble (#116623)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-02 09:38:01 -05:00
Ståle Storø Hauknes adfd63be8c
Bump Airthings BLE to 0.8.0 (#116616)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-02 09:37:02 -05:00
Ståle Storø Hauknes 713ce0dd17
Fix Airthings BLE model names (#116579) 2024-05-01 19:19:40 -05:00
J. Nick Koston 53c48537d7
Add bluetooth adapter model and manufacturer to config flow (#115780)
* Show bluetooth adapter model and manufacturer in config flow

If there are multiple adapters, it could be a bit difficult
to figure out which one is which

* Show bluetooth adapter model and manufacturer in config flow

If there are multiple adapters, it could be a bit difficult
to figure out which one is which

* reorder

* reorder

* names

* remove

* fix incomplete mocking

* more missing mocks
2024-04-18 10:39:32 -04:00
Ståle Storø Hauknes dcd61ac086
Fix unrecoverable error when fetching airthings_ble data (#115699) 2024-04-17 11:47:29 -05:00
Sid f7b7f74d10
Enable Ruff TRY201 (#114269)
* Enable Ruff TRY201

* remove redundant rules
2024-03-28 10:18:07 +01:00
Joost Lekkerkerker 53a76fc792
Fix Airthings BLE illuminance sensor name (#113560) 2024-03-15 23:48:47 +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
Ståle Storø Hauknes 45fb5bcb42
Fix radon precision for Airthings BLE (#113185) 2024-03-12 15:45:18 -10:00
Ondřej Machulda 7fce629fc4
Change airthings pressure sensor device_class to atmospheric pressure (#113005) 2024-03-11 17:01:19 +01:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01: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 9bb6d756f1
Bump airthings-ble to 0.6.1 (#109302)
Bump airthings-ble
2024-02-01 12:59:41 +01:00
Ståle Storø Hauknes fbe1f238d4
Bump airthings-ble to 0.6.0 (#108612) 2024-01-21 11:20:07 -10:00
Joost Lekkerkerker 94b39941e2
Add icon translations to Airthings BLE (#108401) 2024-01-19 20:11:19 +01:00
Ståle Storø Hauknes dde4217b2b
Close stale connections (Airthings BLE) (#106748)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-01-03 10:08:58 -10:00
Marc Mueller 3433e1d349
Enable strict typing for airthings_ble (#106815) 2024-01-01 18:56:44 +01:00
Erik Montnemery 2d59eba4c7
Avoid mutating entity descriptions in airthings_ble (#105627) 2023-12-13 15:23:38 +01:00
Seth 4ee9a6f130
Implement available property for Airthings BLE sensors (#96735) 2023-10-22 12:02:15 -10:00
Robert Resch bb90c1f168
Fix multilevel reference translations (#102338) 2023-10-20 08:12:53 +02: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 d2f9270bc9
Add my self as codeowner for airthings_ble (#99799)
Update airthings_ble codeowner
2023-09-07 10:36:49 +02:00
Joost Lekkerkerker 2fc728db42
Remove unused variable from Airthings BLE (#99085)
* Remove unused variable from Airthings BLE

* Remove unused variable from Airthings BLE
2023-08-26 19:42:49 +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
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
Ståle Storø Hauknes 9a5fe9f644
Airthings BLE: Improve supported devices (#95883) 2023-07-22 17:24:06 +02:00
Joost Lekkerkerker 6ec6369c27
Add entity translations to AirThings BLE (#95061) 2023-06-22 16:46:06 +02:00
Doug Hoffman 24acc71519
Resolve warnings due to incorrectly defined entities in airthings_ble (#92097)
* airthings_ble: Define state_class only in SensorEntityDescription

* airthings_ble: Drop incompatible device_class for voc
2023-04-27 13:44:42 +02:00
Erik Montnemery cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +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
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
J. Nick Koston 65ca62c991
Ensure remote bluetooth adapters are loaded before integrations that need them (#85723) 2023-01-15 13:17:17 -10:00
GitHub Action 77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
Marc Mueller c3991b591a
Improve DataUpdateCoordinator typing in integrations (8) (#85331) 2023-01-07 14:55:19 +01:00
GitHub Action 2976f843b5 [ci skip] Translation update 2023-01-07 00:22:33 +00:00
epenet d89ba40010
Use UnitOfTemperature in integrations (a-d) (#84304) 2022-12-20 17:59:20 +01:00
epenet f988a1164d
Use UnitOfPressure in integrations (#84230) 2022-12-19 21:41:46 +01:00
GitHub Action cfa08c5229 [ci skip] Translation update 2022-12-15 00:24:38 +00:00
GitHub Action b9753a9f92 [ci skip] Translation update 2022-12-13 00:27:47 +00:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00