Commit Graph

12 Commits

Author SHA1 Message Date
Franck Nijhof
ce16d8eeac Rename Particulate matter sensors to PM (#91384) 2023-04-14 09:43:15 +02:00
Maciej Bieniek
34041c7564 Add entity name translations to NAM (#90681) 2023-04-03 12:37:01 +02:00
Maciej Bieniek
a54e523731 Bump nettigo-air-monitor to version 2.1.0 (#88569)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-21 17:41:46 -06:00
epenet
3abf7ea18a Add type hints to integration tests (m-p) (#87705) 2023-02-08 07:48:54 -08:00
Maciej Bieniek
6a3619d9fa Refactor NAM sensor platform (#87048)
* Bump backend library

* Remove AQI_LEVEL_STATE_MAPPING

* Add native_precission

* Update diagnostics fixture

* Use _attr_native_value

* Fix type

* Improve lambda

* Revert native_value property

* native_precision -> suggested_display_precision
2023-02-07 09:14:20 +01:00
Maciej Bieniek
ec038835f6 Catch ApiError while checking credentials in NAM integration (#81243)
* Catch ApiError while checking credentials

* Update tests

* Suggested change
2022-10-30 20:01:10 +01:00
epenet
00dd27ef1b Apply hass-relative-import to tests (i-r) (#78732) 2022-09-19 09:46:59 +02:00
Maciej Bieniek
0b5c0f8249 Bump nam backend library (#72771)
* Update config flow

* Fix discovery with auth

* Call check_credentials() on init

* Update tests

* Bump library version

* Cleaning

* Return dataclass instead of tuple

* Fix pylint error
2022-06-07 06:56:11 -10:00
Maciej Bieniek
1c11e7061d Bump Nettigo Air Monitor backend library (#59675) 2021-11-17 19:00:19 -06:00
Maciej Bieniek
0730b375f3 Remove air_quality platform from Nettigo Air Monitor integration (#52152)
* Remove air_quality platform

* Clean constants
2021-06-24 22:58:37 +03:00
Ville Skyttä
19d25cd901 Change config entry state to an enum (#49654)
* Change config entry state to an enum

* Allow but deprecate EntryState str equality comparison

* Test fixes

* Rename to ConfigEntryState

* Remove str comparability backcompat

* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Maciej Bieniek
0587f834df Add Nettigo Air Monitor integration (#49099) 2021-05-07 08:59:29 -05:00