Commit Graph

64 Commits (d72c28a1357dba0bef25ee0acc2f07e628109458)

Author SHA1 Message Date
epenet 69bc95a715
Use DATA_SIZE device class in integrations () 2022-12-13 10:17:56 +01:00
epenet 535aba10ee
Use DataRate unit and device class in integrations () 2022-12-10 11:41:44 +01:00
GitHub Action 03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action 23faf8024e [ci skip] Translation update 2022-09-14 00:28:24 +00:00
epenet 0c767bd0d3
Improve entity type hints [s] (part 1/2) () 2022-09-06 13:35:14 +02:00
epenet 38ca74b547
Adjust pylint plugin for absolute/relative imports ()
* Adjust pylint plugin for absolute/relative imports

* Adjust components

* One more

* Adjust mqtt

* Adjust mqtt.DOMAIN import

* Adjust internal import

* Add tests for valid local component imports

* Adjust relative path check

* Fixes

* Fixes
2022-08-26 14:27:13 +02:00
epenet 4a84a8caa9
Use Platform enum () 2022-08-18 10:22:49 +02:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards () 2022-07-09 17:27:42 +02:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action c7e8428daa [ci skip] Translation update 2022-05-13 00:26:47 +00:00
GitHub Action 3d2b0a17ce [ci skip] Translation update 2022-05-11 00:22:31 +00:00
Shai Ungar 587a29c723
Fix SABnzbd config check () 2022-05-09 12:34:16 +02:00
Shai Ungar f50681e3d3
Migrate sabnzbd sensors unique ids ()
* Migrate sensors unique ids

1. migrate sensors to have unique id constructed also from entry_id
2. add migration flow in init
3. bump config flow to version 2
4. add tests for migration

* move migrate to async_setup_entry

* 1. Use the entity registry api in tests
2. Set up the config entry and not use integration directly
3. remove patch for entity registry

* fix too many lines

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-09 09:27:23 +02:00
Shai Ungar 50f4c5d347
fix speed sensor wrong number () 2022-05-07 23:16:51 +03:00
GitHub Action 07706fa62a [ci skip] Translation update 2022-05-06 00:22:16 +00:00
Shai Ungar afe4892ae6
Add unique ids to sensors () 2022-05-05 14:34:30 -07:00
GitHub Action ba386b5841 [ci skip] Translation update 2022-05-01 00:28:25 +00:00
GitHub Action d01666f3a2 [ci skip] Translation update 2022-04-30 00:25:25 +00:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Shai Ungar 8883f5482b
Sabnzbd config flow improvments ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-28 22:25:17 +02:00
Shai Ungar 3f5027834b
Sabnzbd config flow ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-26 23:09:10 -07:00
Guido Schmitz 4de59b065a
Bump pysabnzbd to 1.1.1 () 2022-03-11 09:24:08 -08:00
Joakim Sørensen 8e39ba387d
Add missing hass argument in async_request_config call () 2022-02-19 13:22:00 +02:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json () 2022-01-28 13:37:53 -08:00
epenet 81461832c3
Import configurator ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-18 10:18:37 -08:00
epenet 128256a3ee
Fix invalid type hint in discovery async_listen ()
* Fix invalid type hint in discovery async_listen

* Add setup type hints to sabnzbd

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 02:43:43 +01:00
epenet 24314f1b11
Use Platform enum in load_platform [m-z] () 2022-01-10 10:45:11 +01:00
epenet 595e8a327c
Add sensor setup type hints [s] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:06:08 +01:00
epenet 92ace6c2e8
Ensure service calls are typed [s-u] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:42 +01:00
Marc Mueller be201e3ebe
Use assignment expressions 27 () 2021-10-22 11:29:21 +02:00
Marc Mueller 77b60c712e
Use EntityDescription - sabnzbd () 2021-09-06 09:54:07 +02:00
jan iversen b72ed68d61
Activate mypy in sabnzbd () 2021-08-16 22:55:52 +02:00
Erik Montnemery e558b3463e
Move temperature conversions to sensor base class (6/8) ()
* Move temperature conversions to entity base class (6/8)

* Fix tests
2021-08-12 17:40:55 +02:00
tkdrob d37a3cded0
Add targets and selectors for services (S-T) () 2021-05-14 22:30:41 -07:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Erik Montnemery 64bc9a8196
Migrate integrations r-s to extend SensorEntity () 2021-03-22 19:54:14 +01:00
Philip Allgaier dde6305549
Cleanup unused loggers (components N-Z + tests) () 2020-10-16 21:24:08 -05:00
J. Nick Koston 9d9520b2f9
Switch sabnzbd to use async_add_executor_job () 2020-10-14 20:27:34 +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
Paulus Schoutsen 4ebbabcdd1
Unsub dispatcher when removing entity from hass ()
* Unsub dispatcher when removing entity from hass

* Update homeassistant/components/plaato/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/volvooncall/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07:00
Paulus Schoutsen b73531b2fc
Untag discovery as an allowed dependency () 2020-02-18 08:32:56 -08: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
Franck Nijhof 22760a0bee Correct names in manifests (Q-S) () 2020-01-07 08:19:44 -05:00
Franck Nijhof a84741392b
Format all manifests with prettier () 2020-01-06 21:28:23 +01:00