Commit Graph
39 Commits
Author SHA1 Message Date
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
Franck Nijhofandjjlawren 94755a5773 String formatting and max line length - Part 4 (#84445)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 13:27:27 +01:00
epenet ba043c9ebb Use UnitOfTemperature in integrations (p-s) (#84308) 2022-12-20 18:47:27 +01:00
epenet 69bc95a715 Use DATA_SIZE device class in integrations (#83895) 2022-12-13 10:17:56 +01:00
epenet 535aba10ee Use DataRate unit and device class in integrations (#83610) 2022-12-10 11:41:44 +01:00
epenet 7198273a42 Improve entity type hints [q] (#77875) 2022-09-06 09:43:49 +02:00
Marc Mueller 62a5854e40 Fix bare except (#72906) 2022-06-02 13:58:04 +02:00
J. Nick Koston 5b755b74fb Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
epenetandepenet 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
Colin O'Dell 17b6f7ec88 Remove colinodell as QNAP codeowner (#63474) 2022-01-05 16:14:58 +01:00
Robert Hillis 3b9547addc Use enums in qnap (#62055) 2021-12-16 15:01:45 +01:00
Marc Mueller 1c01ff401f Use EntityDescription - qnap (#55410)
* Use EntityDescription - qnap

* Remove default values
2021-08-30 21:59:50 +02:00
Marc Mueller be04d7b92e Fix device_class - qnap drive_temp sensor (#55409) 2021-08-29 20:30:54 -07:00
Colin O'Dell 08d8b026d0 Upgrade qnapstats library to 0.4.0 (#54571) 2021-08-14 08:44:52 +02:00
Erik Montnemery 103e21c278 Move temperature conversions to sensor base class (5/8) (#54475) 2021-08-12 13:26:17 +02:00
Erik Montnemery d1f3c20079 Set device_class on temperature sensors L-Q (#52919) 2021-07-12 20:41:45 +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
Colin O'Dell b645dabd66 Upgrade qnapstats library to 0.3.1 (#47907)
Fixes #47674
2021-03-15 12:53:45 +01:00
Erik Montnemery 14ff6d4d1f Update integrations p-s to override extra_state_attributes() (#47759) 2021-03-11 21:23:20 +01:00
springstan 92379ad8d2 Use list literal without using dict.keys() (#42573) 2020-10-30 09:19:13 -05:00
springstan d2b1918e9c Drop UNIT_ prefix for percentage constant (#39383) 2020-09-05 21:09:14 +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
springstan f1a0ca7cd3 Add and use percentage constant (#32094)
* Add and use percentage constant

* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Colin O'Dell 90859b82e2 Upgrade qnapstats to 0.3.0 (#32148) 2020-02-24 22:46:07 +01: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 22760a0bee Correct names in manifests (Q-S) (#30543) 2020-01-07 08:19:44 -05:00
Franck Nijhof a84741392b Format all manifests with prettier (#30521) 2020-01-06 21:28:23 +01:00
springstan 61cb0924db Move imports to top for qnap (#29326) 2019-12-03 00:56:58 +01:00
Franck Nijhof c7da781efc Update documentation link URL for integrations in all manifests (#27114) 2019-10-02 09:25:44 -07:00
Franck Nijhof 1c5e0123c9 Use literal string interpolation in integrations N-Q (f-strings) (#26391) 2019-09-03 11:35:00 -07:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
cgtobi 2c07bfb9e0 Remove dependencies and requirements (#23024)
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen cfe4cf30ad Add manifests (#22699)
* Add manifests

* Update auto name

* Update codeowners

* Add requirements from platforms

* Minor cleanup

* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Tobias Sauerwein 048b100eea Clean up docstrings (#22679)
* 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 (#22096)
* 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