Commit Graph

187 Commits

Author SHA1 Message Date
Marc Mueller 44049c34f9
Use PEP 695 type alias for ConfigEntry types (#117632) 2024-05-17 15:42:58 +02:00
epenet 48c03a6564
Move gios coordinator to separate module (#117471) 2024-05-15 11:26:04 +02:00
Maciej Bieniek 9e8f7b5618
Store GIOS runtime data in entry (#116510)
Use entry.runtime_data

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-01 17:28:20 +02:00
Maciej Bieniek b462fdbf51
Bump `gios` to version 4.0.0 (#115822)
Bump gios to version 4.0.0

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-04-19 15:52:09 +02:00
Sid 0d66d298ec
Enable Ruff RET504 (#114528)
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Maciej Bieniek f01095fb66
Fix availability for GIOS index sensors (#113021)
* Fix availability for index sensors

* Improve test_availability()

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-03-12 12:41:16 -04:00
Marc Mueller 8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
Erik Montnemery e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
Maciej Bieniek 0954e4cd73
Add icon translations to GIOS (#110131)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 23:28:11 +01:00
Marc Mueller 7a89e58873
Use builtin TimeoutError [e-i] (#109679) 2024-02-05 12:00:37 +01:00
Jan-Philipp Benecke 95aea1488d
Add pylint plugin to check if coordinator is placed in its own module (#108174)
* Add pylint plugin to check if coordinator is placed in its own module

* Remove unintended changes

* Remove pylint disable and let CI only fail on W,E,F

* Make check conventional

* Apply review suggestion

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use option instead

* Remove pylint arguments from pre-commit

* Partially revert "Remove pylint disable and let CI only fail on W,E,F"

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-29 10:30:19 +01:00
Jan-Philipp Benecke f0104d6851
Remove gios sensor description required fields mixin (#106174) 2023-12-21 13:25:21 +01:00
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Maciej Bieniek 855c2da64e
Bump `gios` to version 3.2.2 (#104582) 2023-11-27 12:15:55 +01:00
Maciej Bieniek 570b4ccb4b
Bump gios to version 3.2.1 (#103533) 2023-11-06 20:31:12 +01:00
Maciej Bieniek b37253b206
Bump `gios` to version 3.2.0 (#102675) 2023-10-24 23:45:20 +02:00
Marc Mueller 5dd3f05db8
Use asyncio.timeout [f-h] (#98449) 2023-08-15 08:37:06 -05: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
Erik Montnemery 7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Joost Lekkerkerker a885ceefa2
Add entity translations to Gios (#95403) 2023-06-27 20:58:03 +02:00
Franck Nijhof ce16d8eeac
Rename Particulate matter sensors to PM (#91384) 2023-04-14 09:43:15 +02:00
Maciej Bieniek eb748416ed
Use the default entity names in GIOS (#90700) 2023-04-03 12:42:55 +02:00
Maciej Bieniek fc81b82932
Add entity name translations to GIOS (#90655)
* Add entity name translations

* Update tests
2023-04-02 14:25:38 -04:00
Maciej Bieniek 33fef5592f
Refactor GIOS sensor platform (#89389) 2023-03-28 08:36:42 +02:00
Marc Mueller 58280dc2ec
Improve gios generic typing (#89321) 2023-03-08 08:39:15 +01:00
Maciej Bieniek 1538f639ae
Bump `gios` library to version 3.1.0 (#89044) 2023-03-06 18:12:19 +01:00
Erik Montnemery 899adef590
Sort manifests 4 (#87025) 2023-02-08 20:27:05 +01:00
Marc Mueller 4fbb14ecc7
Update mypy to 1.0.0 (#87586) 2023-02-07 02:31:14 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
epenet 6e3cf896f7
Remove invalid device class in gios (#85611) 2023-01-10 22:08:13 +01:00
epenet 1766df3faa
Improve integration type hints for diagnostics (#85526) 2023-01-09 15:17:48 +01:00
Franck Nijhof 92beab82e2
Fix incorrect co device class usage in GIOS (#84379) 2022-12-21 22:47:39 +01:00
Maciej Bieniek 1661daa911
Update `gios` library to version 2.3.0 (#84292) 2022-12-20 15:27:55 +01:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
Maciej Bieniek b6b36861d9
Add `integration_type` field for a few integrations (#80767) 2022-10-22 14:38:08 +02:00
epenet c717fd19de
Move attribution to standalone attribute [e-g] (#80513) 2022-10-18 10:04:54 +02:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
Maciej Bieniek 0f3cc4a4aa
Migrate GIOS to new entity naming style (#75051)
Use new entity naming style
2022-07-16 06:25:07 -07:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
GitHub Action 269e414e84 [ci skip] Translation update 2022-07-04 00:27:42 +00:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
epenet eae8a59b7b
Cleanup deprecated async_get_registry in gios (#72065) 2022-05-18 13:18:43 +02:00
GitHub Action c7e8428daa [ci skip] Translation update 2022-05-13 00:26:47 +00:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Maciej Bieniek 7edbe66b26
Add `diagnostics` platform for GIOS integration (#69918)
* Add diagnostics platform

* Fix fixture data
2022-04-14 00:12:56 +03:00
Paulus Schoutsen 5eee600fa8
Ban brand name translations as step titles (#68801) 2022-03-28 10:41:39 -07:00
Marc Mueller 0d29b7cbb3
Update coordinator typing (3) [g-n] (#68463) 2022-03-21 14:14:46 +01:00