Commit graph

18 commits

Author SHA1 Message Date
epenet
bb3e0633a4
Add init return type to integrations ()
Add type hints to integrations
2023-02-06 11:37:25 +01:00
epenet
549d1151b7
Use DataRate unit and device class in pyload () 2022-12-09 13:32:31 +01:00
epenet
474844744b
Improve entity type hints [p] () 2022-09-06 09:51:33 +02:00
Markus
ed1545fab0
Fix Pyload request content type headers () 2022-07-11 10:49:31 +02:00
Franck Nijhof
fa09cf663e
Update black to 22.1.0 () 2022-02-05 14:19:37 +01:00
epenet
8756fa28e2
Add setup type hints [o-q] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 16:29:21 +01:00
Marc Mueller
ff853b2d53
Use assignment expressions 19 () 2021-10-18 15:54:38 +02:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) () 2021-08-12 13:26:17 +02:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity () 2021-03-22 19:46:46 +01:00
Andi
14190bd497
Fix pyload API statusServer doesn't take parameters ()
* pyload API statusServer doesn't take parameters

Remove json payload from API call to statusServer for retrieving current download speed. 
See maintainers message in:  (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 ()
* Improve string formatting v9

* Address review comments
2020-04-12 17:18:09 +02:00
springstan
8198970af9
Clean up ssl usage ()
* Clean up ssl usage

* Revert config[CONF_SSL] from sonarr, radarr and mfi
2020-04-10 22:01:57 +02:00
Ville Skyttä
3e23a3a860
Add and use bunch of data size and rate related constants ()
Also fix a few units to match the corresponding data.
2020-02-13 08:52:57 -08:00
Bas Nijholt
21816eeed4 Sort imports according to PEP8 for components starting with "P" () 2019-12-09 14:29:39 +01:00
Franck Nijhof
1c5e0123c9 Use literal string interpolation in integrations N-Q (f-strings) () 2019-09-03 11:35:00 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Tobias Sauerwein
048b100eea Clean up docstrings ()
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ()
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00
Renamed from homeassistant/components/sensor/pyload.py (Browse further)