Commit Graph

27 Commits (670e5a2eae0a49ffd0552b7171bac9f2b363b20f)

Author SHA1 Message Date
Jan-Philipp Benecke 0eafc8f2cd
Update k-l* tests to use entity & device registry fixtures (#103929) 2023-11-13 20:02:33 +01:00
Franck Nijhof 22fa33ce7a
Small cleanup in conftest mocks of Sensors.Community (#103630) 2023-11-08 01:11:07 +01:00
Franck Nijhof ce16d8eeac
Rename Particulate matter sensors to PM (#91384) 2023-04-14 09:43:15 +02:00
epenet 7b3a932cd9
Remove incorrect constant usage in test (#91198) 2023-04-11 10:00:17 +02:00
Michael 682ebbd4d5
Add entity name translations to Luftdaten (#90725) 2023-04-03 19:55:54 +02:00
epenet 6c430e03bc
Add type hints to integration tests (part 14) (#88005) 2023-02-15 10:31:43 +01:00
epenet a79be493e5
Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Michael e35ab75c0b
Replace the usage of unit constants by enumerations in Tests [h-l] (#85934) 2023-01-15 14:52:55 +01:00
Franck Nijhof bcf32f8331
Mark required fields in FlowResult typedict (#84811)
* Mark required fields in FlowResult typedict

* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
Franck Nijhof 9d0c91d648
Migrate Sensor.Community to new entity naming style (#75014) 2022-07-18 15:13:46 +02:00
Franck Nijhof a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
Franck Nijhof 1bf58b37e9
Add diagnostics support to Sensor.Community (#64636) 2022-01-23 09:02:02 +01:00
Franck Nijhof 4fe62a251d
Rename Luftdaten -> Sensor.Community (#62865) 2021-12-28 21:40:00 +01:00
Franck Nijhof 7d7f5272fe
Add device info to Luftdaten (#62692) 2021-12-25 10:52:31 +01:00
Franck Nijhof 40f1d53475
Add sensor tests to Luftdaten (#62663) 2021-12-23 15:46:17 +01:00
Franck Nijhof 6ef7539a31
Add base integration tests to Luftdaten (#62594) 2021-12-23 07:25:26 +01:00
Franck Nijhof 496165711d
Improve config flow Luftdaten (#62589)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-22 13:00:51 +01:00
Franck Nijhof 7fe895e554
Add unique ID to config entry in Luftdaten (#62176) 2021-12-19 12:42:52 +01:00
Franck Nijhof de45144750
Remove deprecated YAML configuration from Luftdaten (#61748) 2021-12-14 09:21:12 +01:00
Franck Nijhof 65cf2fcb6f
Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
springstan cbf6086c30
Use common strings in luftdaten config flow (#42376) 2020-10-25 23:40:12 +01:00
Paulus Schoutsen 2af984917e
Use asynctest-mock in most places (#35109)
* Use asynctest-mock in most places

* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen ec47216388
Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
Paulus Schoutsen 0d700f6a63
Fix tests for Python 3.8 (#34672) 2020-04-25 14:32:55 -07:00
Paulus Schoutsen 0b90ebf91e
Allow async_setup changes to config entry data be taken into a… (#34166)
* Allow async_setup changes to config entry data be taken into account

* Fix tests

* Limit scope try…finally

* Update tests/test_config_entries.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Fix import

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-14 18:46:41 -07:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Fabian Affolter 2e517ab6bc
Enable config flow for Luftdaten (#17700)
* Move file to new location

* Update requirement

* Enable config flow

* Add luftdaten

* Add tests

* Update

* Add constants

* Changes according to the review comments

* Remove wrong entry from flows

* Fix dict handling

* Add callback and use OrderedDict

* Remve leftover

* Fix

* Remove await
2018-11-06 14:27:52 +01:00