Ruslan Sayfutdinov
183220008d
Rename FlowResultDict to FlowResult ( #49847 )
2021-04-29 13:40:51 +02:00
Ruslan Sayfutdinov
0301706fc6
Define AddEntitiesCallback type ( #49812 )
2021-04-29 12:28:14 +02:00
J. Nick Koston
a67b9eff17
Reduce config entry setup/unload boilerplate D-F ( #49733 )
2021-04-26 20:46:49 -10:00
Milan Meulemans
48695869f9
Change dict[str, Any] to FlowResultDict ( #49546 )
2021-04-22 17:23:15 -10:00
Marc Mueller
c07646db5d
Update typing syntax ( #49480 )
...
* Update typing syntax
* Replace typing imports with ones from collections where possible
* Changes after review
2021-04-20 17:40:41 +02:00
Franck Nijhof
006bcde435
Remove HomeAssistantType alias - Part 3 ( #49339 )
2021-04-17 12:48:03 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
HomeAssistant Azure
93c68f8be6
[ci skip] Translation update
2021-04-13 00:04:04 +00:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
Franck Nijhof
bb9da22a84
Clean up superfluous integration setup - part 3 ( #48484 )
2021-03-29 13:23:44 -10:00
Marc Mueller
7c0734bdd5
Update typing 05 ( #48038 )
2021-03-17 23:43:55 +01:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
Franck Nijhof
bc1daf1802
None optional hass typing in FlowHandler ( #46462 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
Paulus Schoutsen
594e905742
Remove invalidation_version from deprecated ( #44156 )
...
* Remove invalidation_version from deprecated. We don't follow up and just hurts releases
* Revert change to ZHA
2020-12-12 22:24:16 +01:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
HomeAssistant Azure
43955d3aa8
[ci skip] Translation update
2020-11-21 00:08:32 +00:00
Chris Talkington
c861a1c850
Update directv to 0.4.0 ( #43302 )
...
* update directv to 0.4.0
* Update requirements_all.txt
* Update requirements_test_all.txt
2020-11-17 06:50:04 +01:00
HomeAssistant Azure
57c6bb96f4
[ci skip] Translation update
2020-11-07 00:04:02 +00:00
Chris Talkington
0ba1298f1b
Remove YAML config for directv ( #41961 )
2020-10-29 09:51:22 +01:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
HomeAssistant Azure
ba55cb8955
[ci skip] Translation update
2020-10-14 00:04:41 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
springstan
61d9067a49
Return empty dictionary at first for attributes ( #41348 )
2020-10-06 18:08:53 +02:00
springstan
513f03eb1f
Return attribute dict directly without temporary variable v2 ( #41271 )
2020-10-06 16:55:16 +02:00
SNoof85
c958ec887f
Use reference strings in directv ( #41059 )
2020-10-02 21:00:00 +02:00
HomeAssistant Azure
f28b7f2187
[ci skip] Translation update
2020-09-16 00:09:01 +00:00
HomeAssistant Azure
d0f4b23063
[ci skip] Translation update
2020-09-15 00:09:18 +00:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
Chris Talkington
f6a3eea7f2
Add device class to directv devices ( #39628 )
...
* add device class to directv devices
* Update test_media_player.py
* Update media_player.py
* Update test_media_player.py
* Update media_player.py
2020-09-03 23:27:13 +02:00
HomeAssistant Azure
5ce62c8446
[ci skip] Translation update
2020-09-02 00:03:29 +00:00
HomeAssistant Azure
989a040b67
[ci skip] Translation update
2020-08-29 00:03:59 +00:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
HomeAssistant Azure
e76db60367
[ci skip] Translation update
2020-08-05 00:02:19 +00:00
HomeAssistant Azure
9092b83869
[ci skip] Translation update
2020-07-20 00:03:01 +00:00
HomeAssistant Azure
2e72216a1c
[ci skip] Translation update
2020-07-11 00:02:51 +00:00
HomeAssistant Azure
251a1d6619
[ci skip] Translation update
2020-07-09 00:05:04 +00:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +00:00
HomeAssistant Azure
cbb76be9d0
[ci skip] Translation update
2020-06-25 00:08:30 +00:00
HomeAssistant Azure
140fd5adaf
[ci skip] Translation update
2020-06-09 00:05:22 +00:00
HomeAssistant Azure
81355a0e23
[ci skip] Translation update
2020-06-08 00:02:43 +00:00
HomeAssistant Azure
3bf389639b
[ci skip] Translation update
2020-06-07 00:03:28 +00:00
HomeAssistant Azure
492874c4a0
[ci skip] Translation update
2020-06-06 00:03:33 +00:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
HomeAssistant Azure
e94f44f294
[ci skip] Translation update
2020-05-17 00:02:56 +00:00
HomeAssistant Azure
9586e9ebef
[ci skip] Translation update
2020-05-15 00:02:56 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Chris Talkington
facb115f14
Use common strings for directv config flow ( #35471 )
2020-05-10 21:14:26 -07:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
Chris Talkington
1f66821256
Support num_repeats for directv remote ( #34982 )
2020-04-30 21:08:15 -07:00
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
Erik Montnemery
aa60d362fd
Rename RemoteDevice to RemoteEntity ( #34676 )
2020-04-26 02:12:36 +02:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
Paulus Schoutsen
e002c84eba
Don't set step title if it's integration title ( #34524 )
2020-04-22 15:05:39 +02:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name ( #34306 )
2020-04-16 12:52:53 -07:00
Chris Talkington
1f4cdda234
Support DirecTV music channels with extended meta ( #34228 )
2020-04-15 18:08:54 -07:00
Paulus Schoutsen
f06aeea385
Update translations
2020-04-15 09:51:07 -07:00
Paulus Schoutsen
d36204a968
Move title translation to root ( #33850 )
2020-04-15 09:41:18 -07:00
HomeAssistant Azure
ad619817c6
[ci skip] Translation update
2020-04-08 00:08:19 +00:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Chris Talkington
30fd9950e2
Add remote platform to directv ( #32790 )
...
* add remote platform to directv.
* Update __init__.py
* Update .coveragerc
* Rename remote py to remote.py
* Update remote.py
* squash.
* Update remote.py
* squash.
* Update remote.py
2020-04-02 10:18:53 -07:00
HomeAssistant Azure
2cfa0af532
[ci skip] Translation update
2020-04-01 00:05:04 +00:00
Chris Talkington
b892dbc6ea
Refactor DirecTV Integration to Async ( #33114 )
...
* switch to directv==0.1.1
* work on directv async.
* Update const.py
* Update __init__.py
* Update media_player.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update media_player.py
* Update test_config_flow.py
* Update media_player.py
* Update media_player.py
* work on tests and coverage.
* Update __init__.py
* Update __init__.py
* squash.
2020-03-31 15:35:32 -07:00
HomeAssistant Azure
3e0eaa3c87
[ci skip] Translation update
2020-03-31 00:02:51 +00:00
HomeAssistant Azure
5bedc4ede2
[ci skip] Translation update
2020-03-29 00:04:45 +00:00
HomeAssistant Azure
6c4b4ad1e0
[ci skip] Translation update
2020-03-26 00:47:06 +00:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
Ville Skyttä
05abf37046
Type hint improvements ( #32905 )
...
* Complete helpers.entity_component type hints
* Add discovery info type
2020-03-18 19:27:25 +02:00
Chris Talkington
04763c5bfb
Remove extra logging from directv init. ( #32809 )
2020-03-14 19:32:38 +01:00
Chris Talkington
e5e38edcb2
Fix directv location of unknown error string ( #32807 )
...
* Update strings.json
* Update en.json
2020-03-14 19:12:01 +01:00
Chris Talkington
5dd031af17
Optimize directv client initialization ( #32706 )
...
* Optimize directv client initialization.
* Update config_flow.py
* Update media_player.py
* Update media_player.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update test_media_player.py
* Update __init__.py
* Update media_player.py
* Update test_media_player.py
* Update media_player.py
* Update test_media_player.py
* Update config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update __init__.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_media_player.py
* Update test_media_player.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
2020-03-13 21:55:21 -07:00
Chris Talkington
cea5cac6e2
Update directpy==0.7 for directv. ( #32694 )
2020-03-11 20:33:02 +01:00
Chris Talkington
bb666b9ac6
Add config flow to directv ( #32162 )
...
* initial work on config flow.
* more work on config flow.
* work on config flow and add tests. other cleanup.
* cleanup tests.
* fix test.
* isort
* Update .coveragerc
* Update test_init.py
* Update test_init.py
* Update test_init.py
* Update test_config_flow.py
* Update test_config_flow.py
* Update test_config_flow.py
* correct upnp serial format.
* improve config flow coverage.
* review tweaks.
* further review tweaks
* simplify dtv data gathering job
* lint
* black
* Update test_init.py
* Update test_init.py
* Simplify exception handling.
* Simplify exception handling.
* Update media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_media_player.py
* fix failing test.
* restore change made during debug.
* isort.
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-03-11 12:28:38 -07:00
Chris Talkington
69b19d54e8
Add codeowner for directv. ( #32661 )
2020-03-11 07:43:44 +01:00
Chris Talkington
3f49f6c047
Add constants file for directv ( #32157 )
2020-02-25 01:30:00 +01:00
springstan
9801810552
Use f-strings in integrations starting with "B"-"E" ( #32121 )
...
* Use f-strings in integrations starting with B
* Use f-strings in integrations starting with C
* Use f-strings in integrations starting with D
* Use f-strings in integrations starting with E
* Fix pylint errors
* Fix pylint errors v2
* Fix tests
* Fix tests v2
2020-02-24 08:47:52 -08:00
Chris Talkington
8dd80e0e3c
Add unique_id to directv entities ( #31838 )
...
* add unique_id to directv entities.
* add addiitional debug and fix tests.
* fix lint error.
* rework unique_id and flow a bit.
* review adjustments.
* review adjustments
* review adjustments
* review adjustments.
* review adjustments
* review adjustments
* review adjustments
* review adjustments
* lint
* use serial number for host unit and mac address for client units
* fix elsif
* update test with realistic client id
* lint
2020-02-23 19:26:34 +01:00
Chris Talkington
f9fda7d616
update directv to directpy==0.6 ( #31812 )
2020-02-13 17:47:16 -08:00
Franck Nijhof
345cc244ed
Correct names in manifests (C-L) ( #30532 )
2020-01-07 08:19:17 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
springstan
2773328134
Move imports to top for directv ( #29441 )
2019-12-04 21:23:05 -08:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -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 fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* 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
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