Commit Graph
53 Commits
Author SHA1 Message Date
Jan-Philipp Benecke 9def44dca4 Bump inexogy quality scale to platinum (#148908) 2025-07-17 08:58:53 +02:00
Jan-Philipp Benecke 57e4270b7b Make exceptions translatable in inexogy integration (#148865) 2025-07-16 08:06:49 +02:00
Joost Lekkerkerker 20a2fdb660 Create separate httpx client for Discovergy (#141374) 2025-03-25 09:32:25 -04:00
Erik Montnemery f83c8de8d3 Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
Jan-Philipp Benecke 53d011f345 Improve inexogy logging when failed to update (#138210) 2025-02-10 17:59:18 +02:00
Michael 3c7b9bec3c Explicitly pass in the config_entry in discovergy coordinator (#137734)
explicitly pass in the config_entry in coordinator
2025-02-07 20:23:42 +01:00
Jan-Philipp Benecke e3f03c9da1 Set inexogy quality scale to silver (#135547) 2025-01-14 11:20:35 +01:00
Norbert Rittel 3e9b410b7c Fix grammar issue in 'invalid_auth' string (#135546)
Remove that wrong comma and add a "that" to clarify the meaning of the error message.
2025-01-13 20:56:10 +01:00
Jan-Philipp Benecke 3c825bb826 Set PARALLEL_UPDATES for inexogy (#135545) 2025-01-13 20:48:24 +01:00
Jan-Philipp Benecke e8ad391df2 Add data_descriptions to inexogy config flow (#135536) 2025-01-13 20:31:13 +01:00
Jan-Philipp Benecke 071e675d9d Mark docs-installation-parameters and docs-removal-instructions for inexogy as done (#135126) 2025-01-09 11:21:07 +01:00
epenet aa206c7608 Use typed ConfigEntry in discovergy (#131891) 2024-11-29 20:28:18 +01:00
Jan-Philipp Beneckeandepenet 883c6121cf Prevent changing email address in inexogy reauth (#131632)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-11-26 17:17:10 +01:00
Jan-Philipp Benecke 789cc7608a Record current IQS state for inexogy (#131208) 2024-11-23 09:37:51 +01:00
epenet 7878d2804f Use _get_reauth_entry in discovergy config flow (#127390) 2024-10-03 12:21:17 +02:00
Jan-Philipp Benecke 19a09b93dd Bump pydiscovergy to 3.0.2 (#125853) 2024-09-13 12:59:33 +02:00
epenet 7d61dd13d9 Use reauth_confirm in discovergy (#124782) 2024-08-28 20:42:50 +02:00
Jan-Philipp Benecke 32d4431f9b Rename Discovergy to inexogy (#118724) 2024-06-03 17:30:17 +02:00
Jan-Philipp Benecke 99565bef27 Bump pydiscovergy to 3.0.1 (#117740) 2024-05-19 20:56:58 +02:00
Marc Mueller 44049c34f9 Use PEP 695 type alias for ConfigEntry types (#117632) 2024-05-17 15:42:58 +02:00
Sid 2cc916db6d Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Jan-Philipp Benecke ce8cea86a2 Use ConfigEntry runtime_data in Discovergy (#116671) 2024-05-03 21:29:35 +02:00
Sid 0b9c9aff62 Add ruff rules PIE790, PIE794, PIE807, PIE810 (#113617) 2024-03-16 11:04:58 -10:00
Paulus Schoutsen f416d67d21 Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
Marc Mueller 0e3945ca6c Add empty line after module docstring [d-f] (#112698) 2024-03-08 14:15:26 +01:00
Erik Montnemery 6fe28d3764 Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
Jan-Philipp Benecke 58d966a18f Import discovergy in the executor to avoid blocking the event loop (#111824) 2024-02-29 10:35:34 -05:00
Jan-Philipp Benecke d796085923 Bump pydiscovergy to 3.0.0 (#111305) 2024-02-24 22:07:46 +01:00
Jan-Philipp Benecke 4d85f78b32 Cleanup Discovergy config flow (#108381)
* Cleanup Discovergy config flow

* Make use of the helper function
2024-01-22 18:20:20 +01:00
Jan-Philipp Benecke d2a03a4706 Avoid unnecessary domain dataclass in Discovergy (#106869) 2024-01-02 13:28:55 +01:00
Erik MontnemeryandJ. Nick Koston 0c2485bc03 Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Jan-Philipp Benecke dd902bc956 Explicit check for None in Discovergy entity if condition (#105248)
Fix checking for None in Discovergy
2023-12-07 19:47:14 +01:00
Jan-Philipp BeneckeandJoost Lekkerkerker b314df272f Cleanup Discovergy a bit (#104552)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-26 17:32:47 +01:00
Jan-Philipp BeneckeandJoost Lekkerkerker 2d891c77ef Reduce nesting in discovergy setup (#104127)
* Reduce nesting in discovergy setup

* Update homeassistant/components/discovergy/sensor.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-17 19:31:29 +01:00
Jan-Philipp Benecke 23ac3248e6 Remove Discovergy entity description required fields mixin (#104028) 2023-11-15 12:03:15 +01:00
Jan-Philipp Benecke a04c37c59f Add serial number to Discovergy (#102531) 2023-10-22 18:10:47 +02:00
Jan-Philipp Benecke 6f83374f3e Bump pydiscovergy to 2.0.5 (#102354) 2023-10-20 14:52:32 +02:00
Jan-Philipp Benecke 9b785ef766 Add Discovergy to strict-typing (#101782) 2023-10-10 22:11:55 +02:00
Jan-Philipp Benecke b8b28e3ba0 Bump pydiscovergy to 2.0.4 (#101637) 2023-10-07 22:17:13 -10:00
Jan-Philipp Benecke a4cb06d09f Also handle DiscovergyClientError as UpdateFailed (#100038)
* Also handle DiscovergyClientError as UpdateFailed

* Change AccessTokenExpired to InvalidLogin

* Also add DiscovergyClientError to config flow and tests
2023-09-11 11:00:50 +02:00
Jan-Philipp Benecke 7acc606dd8 Remove unnecessary argument from discovergy coordinator (#100058) 2023-09-10 11:25:55 -05:00
Ville Skyttä c287bd1a3b Remove pylint configs flagged by useless-suppression (#99081) 2023-08-26 17:46:03 +03:00
Jan-Philipp Benecke 4aa7fb0e35 Use snapshot assertion for Discovergy diagnostics test (#98871)
Add snapshot assertion to Discovergy
2023-08-23 21:02:11 +02:00
Jan-Philipp Benecke 9713466817 Add sensor when meter last sent its data to Discovergy (#97223)
* Add sensor for last reading by Discovergy

* Rename sensor to make it clear what it actually is

* Revert back to single sensor classe and extend entity_description with a value function
2023-08-14 21:42:47 +02: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
Jan-Philipp Benecke 71a81e1f5d Change discovergy integration type (#97391) 2023-08-05 22:47:04 +02:00
Marc Mueller dba6330fc8 Update pydiscovergy to 2.0.3 (#97509)
* Update pydiscovergy to 2.0.3

* Fix mypy

* Fix tests
2023-07-31 17:25:57 +02:00
Jan-Philipp Benecke a0b61a1188 Bump pydiscovergy to 2.0.1 (#97186) 2023-07-25 13:58:38 +02:00
Jan-Philipp Benecke e96bff1674 Add alternative key names for Discovergy voltage sensors (#97155) 2023-07-24 19:31:25 +02:00
Jan-Philipp Benecke 935242e64e Use device info object for Discovergy (#95764) 2023-07-03 14:04:17 +02:00