Commit Graph

32 Commits (c4d8cda92be330311fd83809588c7e0131d1c49b)

Author SHA1 Message Date
Manu 1d731875ae
Remove deprecated yaml import from pyLoad integration (#134200) 2025-01-02 13:29:55 +01:00
epenet 25aea140be
Cleanup unnecessary reconfigure_confirm from config flows (#128086) 2024-10-14 12:57:15 +02:00
epenet 9873371413
Use start_reconfigure_flow in config flow tests (#127191)
* Use start_reconfigure_flow in config flow tests

* Adjust fritz
2024-10-02 10:01:15 +02:00
epenet ef4caa951c
Use start_reauth helper method in integration tests (p-r) (#124792) 2024-08-28 16:20:47 +02:00
Mr. Bubbles bf9d621939
Revert "Rename sensor to finished downloads in pyLoad integration" (#121483)
Revert "Rename sensor to finished downloads in pyLoad integration (#120483)"

This reverts commit 8e598ec3ff.
2024-08-15 19:09:21 +02:00
Joost Lekkerkerker e8d7eb05ae
Delete unused snapshots (#123656)
* Delete unused snapshots

* Delete unused snapshots
2024-08-12 13:28:09 +02:00
Mr. Bubbles f3fe61f929
Bump pyloadapi to v1.3.2 (#121709) 2024-07-10 23:08:25 +02:00
Marc Mueller 414525503c
Use TypeVar defaults for Generator (#120921)
* Use TypeVar defaults for Generator

* Code review
2024-07-01 14:02:54 +02:00
Mr. Bubbles 4fb0621027
Catch exceptions in service calls by buttons/switches in pyLoad integration (#120701)
* Catch exceptions in service calls by buttons/switches

* changes

* more changes

* update tests
2024-06-28 20:11:03 +02:00
Mr. Bubbles 43d686e0f1
Redact the hostname in pyLoad diagnostics (#120567) 2024-06-26 14:59:14 +02:00
Mr. Bubbles f5ff19d602
Add measurement unit and state_class to sensors in pyLoad (#120551) 2024-06-26 14:14:48 +02:00
Mr. Bubbles 1d0aa6bff0
Update docstrings in pyLoad tests (#120556) 2024-06-26 13:40:20 +02:00
Mr. Bubbles 972b85a75b
Fix class and variable naming errors in pyLoad integration (#120547) 2024-06-26 13:36:25 +02:00
Mr. Bubbles 13a9efb6a6
Convert dataclass to dict in pyLoad diagnostics (#120552) 2024-06-26 13:36:01 +02:00
Mr. Bubbles 42d235ce4d
Add diagnostics platform to pyLoad integration (#120535) 2024-06-26 11:44:58 +02:00
Mr. Bubbles 45dedf73c8
Add exception translations for pyLoad integration (#120520) 2024-06-26 11:00:31 +02:00
Mr. Bubbles 8e598ec3ff
Rename sensor to finished downloads in pyLoad integration (#120483) 2024-06-26 10:50:32 +02:00
Mr. Bubbles d76a82e340
Add switch platform to pyload integration (#120352) 2024-06-26 10:21:54 +02:00
Mr. Bubbles 82b8b73b8a
Add reconfiguration flow to pyLoad integration (#120485) 2024-06-26 09:46:50 +02:00
Mr. Bubbles ba40340f82
Align deviceinfo entries in pyLoad integration (#120478) 2024-06-26 08:45:22 +02:00
Mr. Bubbles 77fea8a73e
Add reauth flow to pyLoad integration (#120376)
Add reauth flow
2024-06-25 17:15:12 +02:00
Mr. Bubbles fd0fee1900
Add button platform to pyLoad integration (#120359) 2024-06-25 08:09:54 +02:00
Mr. Bubbles 1e5f4c2d75
Add additional sensors to pyLoad integration (#120309) 2024-06-24 18:56:33 +02:00
Mr. Bubbles 237f20de6c
Add DataUpdateCoordinator to pyLoad integration (#120237)
* Add DataUpdateCoordinator

* Update tests

* changes

* changes

* test coverage

* some changes

* Update homeassistant/components/pyload/sensor.py

* use dataclass

* fix ConfigEntry

* fix configtype

* fix some issues

* remove logger

* remove unnecessary else

* revert fixture changes

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-24 12:58:37 +02:00
Mr. Bubbles d095d4e60d
Change suggested data rate unit to Mbit/s in pyLoad (#120275)
Change data rate unit to Mbit/s
2024-06-24 07:53:15 +02:00
Mr. Bubbles 473b3b61eb
Add string and icon translations to pyLoad integration (#120234)
add string and icon translations to pyLoad
2024-06-23 14:25:36 +02:00
Mr. Bubbles 826587abb2
Add `DeviceInfo` to pyLoad integration (#120232)
* Add device info to pyLoad integration

* Update homeassistant/components/pyload/sensor.py

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

* Update homeassistant/components/pyload/sensor.py

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

* remove name, add entry_type

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-23 13:16:00 +02:00
Mr. Bubbles 28fb361c64
Add config flow to pyLoad integration (#120135)
* Add config flow to pyLoad integration

* address issues

* remove suggested values

* Fix exception

* abort import flow on error

* readd repair issues on error

* fix ruff

* changes

* changes

* exception hints
2024-06-23 12:34:32 +02:00
Mr. Bubbles f0d5640f5d
Bump pyloadapi to v1.2.0 (#120218) 2024-06-22 21:22:13 -05:00
Mr. Bubbles 7fa74fcb07
Refactor sensor platform of Pyload integration (#119716) 2024-06-21 15:57:36 +02:00
Mr. Bubbles c077c2a972
Fix pyload async_update SensorEntity raising exceptions (#119655)
* Fix Sensorentity raising exceptions

* Increase test coverage
2024-06-14 20:47:06 +02:00
Mr. Bubbles 7bbd28d385
Migrate library to PyLoadAPI 1.1.0 in pyLoad integration (#116053)
* Migrate pyLoad integration to externa API library

* Add const to .coveragerc

* raise update failed when cookie expired

* fix exceptions

* Add tests

* bump to PyLoadAPI 1.1.0

* remove unreachable code

* fix tests

* Improve logging and exception handling

- Modify manifest.json to update logger configuration.
- Improve error messages for authentication failures in sensor.py.
- Simplify and rename pytest fixtures in conftest.py.
- Update test cases in test_sensor.py to check for log entries and remove unnecessary code.

* remove exception translations
2024-06-13 22:52:19 +02:00