Mr. Bubbles
f3fe61f929
Bump pyloadapi to v1.3.2 ( #121709 )
2024-07-10 23:08:25 +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
55101fcc45
Add platinum scale to pyLoad integration ( #120542 )
...
Add platinum scale
2024-06-26 16:06:55 +02:00
Mr. Bubbles
294e1d4fc4
Fix class name and deprecation version ( #120570 )
2024-06-26 15:42:03 +02:00
Mr. Bubbles
af9b4b98ca
Add value_fn to switch entity description in pyLoad ( #120569 )
2024-06-26 15:09:42 +02:00
Mr. Bubbles
43d686e0f1
Redact the hostname in pyLoad diagnostics ( #120567 )
2024-06-26 14:59:14 +02:00
Mr. Bubbles
7eb9875a9e
Add Base class for entities in PyLoad integration ( #120563 )
...
* Add Base class for entities
* Remove constructors
2024-06-26 14:45:04 +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
34e266762e
Remove unnecessary icon states in pyLoad integration ( #120548 )
...
Remove unnecessary icon states
2024-06-26 13:09:50 +02:00
epenet
c49fce5541
Force alias when importing sensor PLATFORM_SCHEMA ( #120536 )
2024-06-26 12:14:13 +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
f23020919f
Remove unused translation strings in pyLoad integration ( #120476 )
2024-06-26 08:51:12 +02:00
Mr. Bubbles
cc6aac5e75
Add missing textselectors in USER_DATA_SCHEMA
in pyLoad integration ( #120479 )
2024-06-26 08:50:45 +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
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] ( #112702 )
2024-03-08 15:04:07 +01:00
Erik Montnemery
5dfb9cddd6
Sort manifests 8 ( #87029 )
2023-02-08 20:13:46 +01:00
epenet
bb3e0633a4
Add init return type to integrations ( #87523 )
...
Add type hints to integrations
2023-02-06 11:37:25 +01:00
epenet
549d1151b7
Use DataRate unit and device class in pyload ( #83611 )
2022-12-09 13:32:31 +01:00
epenet
474844744b
Improve entity type hints [p] ( #77871 )
2022-09-06 09:51:33 +02:00
Markus
ed1545fab0
Fix Pyload request content type headers ( #74957 )
2022-07-11 10:49:31 +02:00
Franck Nijhof
fa09cf663e
Update black to 22.1.0 ( #65788 )
2022-02-05 14:19:37 +01:00
epenet
8756fa28e2
Add setup type hints [o-q] ( #63465 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 16:29:21 +01:00
Marc Mueller
ff853b2d53
Use assignment expressions 19 ( #57968 )
2021-10-18 15:54:38 +02:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) ( #54475 )
2021-08-12 13:26:17 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity ( #48214 )
2021-03-22 19:46:46 +01:00
Andi
14190bd497
Fix pyload API statusServer doesn't take parameters ( #35242 )
...
* pyload API statusServer doesn't take parameters
Remove json payload from API call to statusServer for retrieving current download speed.
See maintainers message in: pyload/pyload#3622 (comment)
Skip duplicated call to update function.
* Lint sensor.py
remove empty line
2020-05-06 02:35:02 +02:00
springstan
b2af1de273
Improve string formatting v9 ( #34050 )
...
* Improve string formatting v9
* Address review comments
2020-04-12 17:18:09 +02:00
springstan
8198970af9
Clean up ssl usage ( #33960 )
...
* Clean up ssl usage
* Revert config[CONF_SSL] from sonarr, radarr and mfi
2020-04-10 22:01:57 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Ville Skyttä
3e23a3a860
Add and use bunch of data size and rate related constants ( #31781 )
...
Also fix a few units to match the corresponding data.
2020-02-13 08:52:57 -08:00
Franck Nijhof
dc02c28891
Correct names in manifests (M-P) ( #30541 )
2020-01-07 13:28:35 +01:00