Commit Graph

31 Commits (e2f6fbd59b4f7f2bdd20617fb65fce5edf90a4df)

Author SHA1 Message Date
Jan-Philipp Benecke 04a497343d
Update f-g* tests to use entity & device registry fixtures () 2023-11-12 13:07:38 +01:00
Jan-Philipp Benecke f96c1516f8
Use snapshot assertion for gios diagnostics test () 2023-08-25 16:46:10 +02:00
Franck Nijhof ce16d8eeac
Rename Particulate matter sensors to PM () 2023-04-14 09:43:15 +02:00
Maciej Bieniek eb748416ed
Use the default entity names in GIOS () 2023-04-03 12:42:55 +02:00
Maciej Bieniek fc81b82932
Add entity name translations to GIOS ()
* Add entity name translations

* Update tests
2023-04-02 14:25:38 -04:00
Maciej Bieniek 33fef5592f
Refactor GIOS sensor platform () 2023-03-28 08:36:42 +02:00
Maciej Bieniek 1538f639ae
Bump `gios` library to version 3.1.0 () 2023-03-06 18:12:19 +01:00
Franck Nijhof 330e1c6cbb
Clean up unnecessary registry mocks from integration tests () 2023-02-09 10:43:45 +01:00
epenet 7a4d15a657
Add type hints to integration tests (f-g) () 2023-02-08 13:33:52 +01:00
epenet 6e3cf896f7
Remove invalid device class in gios () 2023-01-10 22:08:13 +01:00
Franck Nijhof 92beab82e2
Fix incorrect co device class usage in GIOS () 2022-12-21 22:47:39 +01:00
epenet a809e18559
Apply hass-relative-import to tests (d-h) () 2022-09-19 09:31:57 +02:00
Franck Nijhof 7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 19:57:36 +03:00
Maciej Bieniek 7edbe66b26
Add `diagnostics` platform for GIOS integration ()
* Add diagnostics platform

* Fix fixture data
2022-04-14 00:12:56 +03:00
epenet 053c4428a9
Prettify json (component test fixtures) () 2022-03-30 11:37:17 +02:00
Dave T 28e373297f
Use DeviceClass Enums in gios tests () 2021-12-17 08:43:03 +01:00
Paulus Schoutsen 31153ac155
Move fixtures part 1 () 2021-11-01 20:47:05 -07:00
Maciej Bieniek 10058ea3f0
Use new device classes in GIOS integration ()
* Use new device classes

* Clean up
2021-08-17 22:35:05 -05:00
Maciej Bieniek 9607864c29
Bump `gios` library to version 2.0 ()
* Bump gios library

* Fix pylint error
2021-07-27 19:10:38 +02:00
Maciej Bieniek dc72c6c606
Improve config entry title for GIOS integration ()
* Improve GIOS config entry title

* Usonly station name as title
2021-07-06 14:04:00 +02:00
Maciej Bieniek 669aca9585
Bump gios to version 1.0.2 () 2021-07-06 12:32:17 +02:00
Maciej Bieniek bdf247faaa
Migrate GIOS air_quality platform to sensor () 2021-07-04 11:54:07 -05:00
Ville Skyttä 19d25cd901
Change config entry state to an enum ()
* 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 f5541a468e
Improve type annotations for GIOS integration () 2021-05-11 07:57:24 -07:00
Maciej Bieniek 7a87846146
Bump `gios` library ()
* Bump gios library

* Use consts for API strings

* Do not store data locally

* Use API_TIMEOUT const
2021-05-07 13:03:11 +02:00
Erik Montnemery 87e7cebd36
Update tests c-h to use registry async_get () 2021-03-09 14:31:17 +01:00
Franck Nijhof 65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Maciej Bieniek 19389b16e2
Add support for system health to GIOS integration ()
* Add system health support

* Fix docstrings

* Change url to check
2020-12-07 03:50:22 +01:00
Maciej Bieniek 226406b853
Improve tests for GIOS integration () 2020-09-03 09:27:21 +02:00
Paulus Schoutsen ec47216388
Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Maciej Bieniek 2c1a7a54cd Add GIOS integration ()
* Initial commit

* Add gios to requirements

* Add tests

* Update .coveragerc file

* Run gen_requirements_all.py

* Change DEFAULT_SCAN_INTERVAL

* Better strings

* Bump library version

* run script.hassfest

* run isort

* Add icons mapping

* Remove unnecessary f-string

* Remove unnecessary listener

* Refactoring config_flow

* Add unique_id to config entry

* Change AQI states to consts in English

* Remove unused init

* Remove unused exception

* Remove private instance attribute

* Remove overwrite state property

* Fix pylint error

* Add SCAN_INTERVAL for air_quality entity

* Add _abort_if_unique_id_configured()
2019-12-31 13:05:31 +01:00