Commit Graph

23 Commits (b898c86c8994c9d578e05bf049593849497b19f2)

Author SHA1 Message Date
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 713ce0dd17
Fix Airthings BLE model names (#116579) 2024-05-01 19:19:40 -05: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
Joost Lekkerkerker 94b39941e2
Add icon translations to Airthings BLE (#108401) 2024-01-19 20:11:19 +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
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
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
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
Marc Mueller c3991b591a
Improve DataUpdateCoordinator typing in integrations (8) (#85331) 2023-01-07 14:55:19 +01: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
epenet 1445e08090
Replace `is_metric` with `is METRIC_SYSTEM` (#80262) 2022-10-14 12:22:11 +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