Commit Graph

32 Commits

Author SHA1 Message Date
GitHub Action
7746715590 [ci skip] Translation update 2022-06-02 00:27:51 +00:00
GitHub Action
b6b72f50ec [ci skip] Translation update 2022-05-22 00:22:43 +00:00
Shay Levy
c52f535eb3 Fix filesize doing IO in event loop (#72038) 2022-05-18 09:00:46 +02:00
GitHub Action
37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
G Johansson
c0ae31d86c Code quality Filesize (#71768) 2022-05-14 06:16:22 -05:00
Franck Nijhof
135326a4a6 Remove YAML configuration from filesize (#71692) 2022-05-12 10:31:42 +02:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Simone Chemelli
23446fa1c0 Fix file size last_updated (#70114)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-19 12:49:07 +02:00
epenet
e362871499 Prettify json (strings.json) (#68885) 2022-03-30 10:35:30 +02:00
G Johansson
00b53502fb Break out sensors for filesize (#68702)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-26 09:43:15 -10:00
G Johansson
b96c569657 Fix review comments for filesize (#68703) 2022-03-26 13:52:55 +01:00
G Johansson
67cf053260 Implement config flow for filesize (#67668)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-25 09:30:28 -10:00
G Johansson
480ce84b8a Improve code quality filesize (#65240) 2022-02-07 11:59:06 -06:00
epenet
1ac3e71462 Add setup type hints [f] (#63431)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 13:34:15 +01:00
Sebastian Lövdahl
bc3bf2ffe3 Use Platform constants all over the place 1/3 (#62952) 2021-12-28 21:13:20 +01:00
Erik Montnemery
6de6a5dc14 Move temperature conversions to sensor base class (3/8) (#54469)
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +02:00
tkdrob
9e0730c97f Add targets and selectors for services (F) (#50191) 2021-05-12 11:00:32 +02:00
Franck Nijhof
055cdc64c0 Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Erik Montnemery
339a56e434 Migrate integrations f-h to extend SensorEntity (#48212) 2021-03-22 19:45:17 +01:00
Erik Montnemery
af4d06b12e Update integrations f-i to override extra_state_attributes() (#47757) 2021-03-11 16:57:47 +01:00
springstan
038c05d0ee Return attribute dict directly without temporary variable (#41206) 2020-10-05 12:51:48 +02:00
J. Nick Koston
f449620d38 Add the ability to reload filesize platforms from yaml (#39347) 2020-08-27 23:53:27 -05: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
345cc244ed Correct names in manifests (C-L) (#30532) 2020-01-07 08:19:17 +01:00
Bas Nijholt
ca0fad2cbb Sort imports according to PEP8 for components starting with "F" (#29766) 2019-12-09 14:14:40 +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
b1118cb8ff Removes unnecessary else/elif blocks (#26884) 2019-09-24 13:53:03 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25: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
Penny Wood
f195ecca4b Consolidate all platforms that have tests (#22109)
* Moved climate components with tests into platform dirs.

* Updated tests from climate component.

* Moved binary_sensor components with tests into platform dirs.

* Updated tests from binary_sensor component.

* Moved calendar components with tests into platform dirs.

* Updated tests from calendar component.

* Moved camera components with tests into platform dirs.

* Updated tests from camera component.

* Moved cover components with tests into platform dirs.

* Updated tests from cover component.

* Moved device_tracker components with tests into platform dirs.

* Updated tests from device_tracker component.

* Moved fan components with tests into platform dirs.

* Updated tests from fan component.

* Moved geo_location components with tests into platform dirs.

* Updated tests from geo_location component.

* Moved image_processing components with tests into platform dirs.

* Updated tests from image_processing component.

* Moved light components with tests into platform dirs.

* Updated tests from light component.

* Moved lock components with tests into platform dirs.

* Moved media_player components with tests into platform dirs.

* Updated tests from media_player component.

* Moved scene components with tests into platform dirs.

* Moved sensor components with tests into platform dirs.

* Updated tests from sensor component.

* Moved switch components with tests into platform dirs.

* Updated tests from sensor component.

* Moved vacuum components with tests into platform dirs.

* Updated tests from vacuum component.

* Moved weather components with tests into platform dirs.

* Fixed __init__.py files

* Fixes for stuff moved as part of this branch.

* Fix stuff needed to merge with balloob's branch.

* Formatting issues.

* Missing __init__.py files.

* Fix-ups

* Fixup

* Regenerated requirements.

* Linting errors fixed.

* Fixed more broken tests.

* Missing init files.

* Fix broken tests.

* More broken tests

* There seems to be a thread race condition.
I suspect the logger stuff is running in another thread, which means waiting until the aio loop is done is missing the log messages.
Used sleep instead because that allows the logger thread to run. I think the api_streams sensor might not be thread safe.

* Disabled tests, will remove sensor in #22147

* Updated coverage and codeowners.
2019-03-18 23:07:39 -07:00