Commit Graph

29 Commits (a7993e06402f6667c5b67952d3d03213e0cdcda3)

Author SHA1 Message Date
Maciej Bieniek ae2419b569
Add support for PMSx003 sensors in NAM integration (#81289)
* Add support for PMSx003

* Organize the order of tests
2022-10-31 10:22:45 +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
Maciej Bieniek 19debda059
Bump nettigo-air-monitor to 1.5.0 (#81183)
* Bump NAM library

* Update tests
2022-10-29 14:43:02 +02:00
epenet 00dd27ef1b
Apply hass-relative-import to tests (i-r) (#78732) 2022-09-19 09:46:59 +02:00
Maciej Bieniek bf510fcb4c
Add CAQI sensors to Nettigo Air Monitor integration (#76709)
* Add CAQI sensors

* Add state translation

* Add icon

* Update tests

* Remove unit

* Update test

* Do not use device_class

* Update tests

* Remove unit and device_class
2022-08-28 21:54:00 +02:00
Maciej Bieniek e44b1fa98c
Bump nettigo-air-monitor to 1.4.2 (#76670) 2022-08-13 10:32:58 +02:00
Franck Nijhof 7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum (#74642) 2022-07-07 19:57:36 +03: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
epenet 053c4428a9
Prettify json (component test fixtures) (#68892) 2022-03-30 11:37:17 +02:00
Joshua Roys 9134e5c844
Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
Maciej Bieniek 2ed30ac361
Add diagnostics to NAM (#64743)
* Add diagnostics

* Fix tests
2022-01-23 00:17:32 -08:00
Erik Montnemery b3cda6b681
Attempt to fix flaky nam test (#64613) 2022-01-21 09:44:05 -08:00
Dave T e0c5cbf1e0
Use new enums in nam tests (#62522) 2021-12-21 21:54:58 +01:00
Ville Skyttä 5bf67cac66
Use RegistryEntryDisabler (#60436) 2021-12-15 23:25:40 +02:00
Franck Nijhof 9715601255
Add button device classes to NAM (#60621) 2021-12-01 07:08:17 +01:00
Maciej Bieniek 847b10fa65
Add `button` platform to NAM integration (#60410) 2021-11-29 22:58:04 +01:00
epenet 77dfeb062f
Update ZeroconfServiceInfo in tests (n-t) (#60219)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 10:35:44 -06:00
epenet ba93a384a7
Use ZeroconfServiceInfo in nam (#60044) 2021-11-21 10:25:34 +01:00
Maciej Bieniek 1c11e7061d
Bump Nettigo Air Monitor backend library (#59675) 2021-11-17 19:00:19 -06:00
Maciej Bieniek 0b932b53c9
Do not probe `nam` device if the host is already configured (#57843) 2021-10-17 00:12:01 -10:00
Maciej Bieniek 8ee6662cff
Bump `nettigo_air_monitor` library to version 1.1.1 (#57483) 2021-10-11 17:27:04 +02:00
Maciej Bieniek 4f3d1c5e12
Use PM1, PM25 and PM10 device classes in Nettigo Air Monitor integration (#54741) 2021-08-17 10:49:22 +02:00
Maciej Bieniek 6d13466f8a
Remove unnecessary `init_integration()` call in NAM tests (#53609) 2021-07-28 11:23:57 +02: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
Maciej Bieniek d08129352f
Bump Nettigo Air Monitor library (#52085) 2021-06-22 15:44:53 +02:00
Maciej Bieniek 41a940f644
Add state class to Nettigo Air Monitor sensors (#50959) 2021-05-26 09:36:37 +02: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 f192702648
Add Nettigo Air Monitor uptime sensor (#50834) 2021-05-19 13:20:11 +02:00
Maciej Bieniek 0587f834df
Add Nettigo Air Monitor integration (#49099) 2021-05-07 08:59:29 -05:00