Commit Graph

19 Commits (b38c193fe481775222813ff48d43174f1184119a)

Author SHA1 Message Date
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 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 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 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 ba40340f82
Align deviceinfo entries in pyLoad integration (#120478) 2024-06-26 08:45:22 +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 7fa74fcb07
Refactor sensor platform of Pyload integration (#119716) 2024-06-21 15:57:36 +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