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
Chris Talkington
851c20aeb2
Update rokuecp to 0.6.0 ( #38819 )
...
* update rokuecp to 0.6.0
* Update requirements_all.txt
* Update requirements_test_all.txt
2020-08-12 21:41:29 -04:00
Ville Skyttä
c2a21fa496
Update coordinator improvements ( #38366 )
...
* Make generic
* Add type info to bunch of uses
* Recognize requests exceptions
* Recognize urllib exceptions
2020-07-30 18:04:00 +03:00
HomeAssistant Azure
9092b83869
[ci skip] Translation update
2020-07-20 00:03:01 +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
Chris Talkington
ed89d4869d
Fix typo in roku services description ( #37042 )
2020-06-24 00:00:24 +02:00
Chris Talkington
6610bbe7bb
Add service to trigger roku search ( #37014 )
2020-06-23 09:03:43 -07:00
HomeAssistant Azure
e39997ca10
[ci skip] Translation update
2020-06-23 00:09:06 +00:00
Chris Talkington
6aba87f3a6
Use roku media state to detect paused media ( #36980 )
2020-06-22 09:51:38 +02:00
Chris Talkington
a6536bb622
Update rokuecp to 0.5.0 ( #36975 )
...
* update rokuecp to 0.5.0
* Update requirements_all.txt
* Update requirements_test_all.txt
* add aiohttp mock for media-player
* Create media-player-close.xml
* Update media-player-close.xml
* Create media-player-play.xml
* Create active-app-pluto.xml
* Update apps.xml
* Update apps-tv.xml
* Create media-player-pause.xml
* Create media-player-live.xml
* Update __init__.py
2020-06-21 14:29:39 -05:00
Chris Talkington
4a432781ca
Reduce roku scan interval by 5s ( #36966 )
2020-06-21 11:40:05 +02: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
Chris Talkington
f06c0a8b54
Add roku exception handling for service calls ( #36328 )
2020-06-04 09:59:39 -07:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
Chris Talkington
6fbc3b54bd
Fix roku select source with app ids ( #36191 )
2020-05-27 17:53:26 +02:00
Chris Talkington
77eab66e0f
Fix roku play/pause during standby ( #36096 )
2020-05-25 13:55:25 +02:00
Chris Talkington
22a2c386e9
Update rokuecp to 0.4.2 ( #36102 )
...
* update rokuecp to 0.4.2
* Update requirements_all.txt
* Update requirements_test_all.txt
2020-05-25 13:40:16 +02:00
Chris Talkington
765bf760b4
Fix roku play/pause support ( #35991 )
2020-05-23 11:06:48 +02:00
HomeAssistant Azure
973f66a974
[ci skip] Translation update
2020-05-22 00:05:00 +00:00
Chris Talkington
78b57678d8
Update rokuecp to 0.4.1 ( #35899 )
...
* update rokuecp to 0.4.1
* Update requirements_all.txt
* Update requirements_test_all.txt
2020-05-21 09:22:49 +02: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
de22bb1df6
Use common strings for roku config flow ( #35504 )
...
* use common strings for roku config flow.
* Update strings.json
* Update strings.json
2020-05-12 10:00:38 -05:00
Chris Talkington
a6d587b6cd
Update roku supported features to VOLUME_STEP ( #35481 )
2020-05-10 22:06:10 -07:00
Chris Talkington
c69d4943a5
Update rokuecp to 0.4.0 ( #35436 )
2020-05-11 01:56:38 +02:00
Chris Talkington
0fabd73ad4
reduce roku scan interval by 10s ( #35433 )
2020-05-09 17:55:23 -05:00
Chris Talkington
96d2b8cdf6
Update rokuecp to 0.3.2 ( #35429 )
...
* update rokuecp to 0.3.1
* Update rokuecp to 0.3.2
2020-05-09 16:26:54 -05:00
Chris Talkington
06ddda8c95
Improve roku remote ( #35419 )
...
* Update remote.py
* Create test_remote.py
* Update .coveragerc
2020-05-09 16:04:37 -05:00
Chris Talkington
d61bde6ae6
Update rokuecp to 0.2.3 ( #35420 )
...
* Update requirements_all.txt
* Update requirements_test_all.txt
* Update manifest.json
2020-05-09 13:23:03 -05:00
Chris Talkington
7da41a6e86
Update rokuecp to 0.2.2 ( #35404 )
...
* Update requirements_all.txt
* Update requirements_test_all.txt
* Update manifest.json
2020-05-09 00:24:35 -05:00
Chris Talkington
e90feb1d59
Update rokuecp to 0.2.1 ( #35400 )
...
* Update requirements_all.txt
* Update requirements_test_all.txt
* Update manifest.json
* Update __init__.py
2020-05-08 19:29:48 -05:00
Chris Talkington
3feb55a8e4
Make roku async ( #35104 )
...
* Update manifest.json
* work on roku async.
* Update config_flow.py
* Update __init__.py
* Update media_player.py
* Update media_player.py
* Update __init__.py
* Update __init__.py
* Update media_player.py
* Update media_player.py
* Update remote.py
* Update test_media_player.py
* Update test_media_player.py
* Update test_config_flow.py
* Update media_player.py
* Update remote.py
* Update config_flow.py
* Update test_media_player.py
* Update config_flow.py
* Update test_config_flow.py
2020-05-08 16:44:34 -05:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
Chris Talkington
bb08959131
Support num_repeats for roku remote ( #34981 )
2020-04-30 21:08:32 -07:00
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
HomeAssistant Azure
7faba60e83
[ci skip] Translation update
2020-04-29 00:03:31 +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
Chris Talkington
6dd836589c
Improve Roku ( #34431 )
2020-04-21 21:06:23 -07:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Paulus Schoutsen
95357dfc55
Update translations
2020-04-20 16:33:54 -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
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
Quinn Hosler
59d707df54
Add play_media channel support to roku ( #34124 )
2020-04-13 22:55:02 +02:00
HomeAssistant Azure
ad619817c6
[ci skip] Translation update
2020-04-08 00:08:19 +00:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
Franck Nijhof
e8a0abd107
String formatting improvements ( #33635 )
...
* String formatting improvements
* Found another one
2020-04-04 18:21:14 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Chris Talkington
be3cf52613
Update to roku==4.1.0 ( #33520 )
...
* Update manifest.json
* Update requirements_test_all.txt
* Update requirements_all.txt
2020-04-02 10:09:59 +02:00
HomeAssistant Azure
5f72ad8da6
[ci skip] Translation update
2020-03-28 00:08:09 +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
Paulus Schoutsen
a9d16d4276
Remove mentioning YAML in Roku config flow ( #32920 )
2020-03-17 16:57:10 -07:00
Chris Talkington
9146f76b01
Apply recommendations from roku code review ( #32883 )
...
* avoid patching integration methods
* Update config_flow.py
* apply recommendations from roku code review
* Update config_flow.py
2020-03-17 21:15:41 +01:00
Chris Talkington
cf8dfdae47
Add config flow to roku ( #31988 )
...
* create a dedicated const.py
* add DEFAULT_PORT to const.py
* work on config flow conversion.
* remove discovery.
* work on config flow and add tests. other cleanup.
* work on config flow and add tests. other cleanup.
* add quality scale to manifest.
* work on config flow and add tests. other cleanup.
* review tweaks.
* Update manifest.json
* catch more specific errors
* catch more errors.
* impprt specific exceptions
* import specific exceptions
* Update __init__.py
* Update config_flow.py
* Update media_player.py
* Update remote.py
* Update media_player.py
* Update remote.py
* Update media_player.py
* Update remote.py
* Update config_flow.py
* Update config_flow.py
* Update media_player.py
* Update __init__.py
* Update __init__.py
* Update config_flow.py
* Update test_config_flow.py
* Update config_flow.py
* Update __init__.py
* Update test_config_flow.py
* Update remote.py
* Update test_init.py
* Update test_init.py
* Update media_player.py
* Update media_player.py
* Update media_player.py
2020-03-15 21:13:04 -07:00
Chris Talkington
180bcad477
Add codeowner for roku. ( #32695 )
2020-03-11 12:52:27 -07:00
Chris Talkington
3b75fdccfd
Add availability to roku media player entities ( #32484 )
...
* track if roku is available based on update errors.
* Update media_player.py
* Update media_player.py
2020-03-06 13:55:32 +01:00
Paulus Schoutsen
0e436ac80e
add const file for roku ( #32470 )
2020-03-04 14:24:59 -08:00
Jeff Irion
59b4e42f8b
Remove SUPPORT_PLAY_MEDIA from Roku ( #32378 )
2020-03-03 16:59:32 +01:00
Paulus Schoutsen
b73531b2fc
Untag discovery as an allowed dependency ( #31934 )
2020-02-18 08:32:56 -08:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Brett T. Warden
9049e090f9
Bump Roku to 4.0.0 ( #29809 )
2019-12-10 09:20:52 +01:00
springstan
9f649ed345
Move imports to top for roku ( #29289 )
2019-12-01 12:03:51 +01:00
Brett T. Warden
fa1622fe8b
Use roku.poweron method for media_player.turn_on ( #29123 )
...
Instead of using the roku.power method, which toggles power,
implement the media_player.turn_on command for the roku component
by calling the new roku.poweron method.
Fixes #28961 , but depends on upstream
https://github.com/jcarbaugh/python-roku/pull/53
2019-11-27 18:19:10 +01:00
Raman Gupta
b267d54db3
Update services.yaml for Roku component ( #28887 )
...
* update services.yaml for roku component
* add new line
2019-11-20 13:14:13 +01:00
Villhellm
062ec8a7c2
changed STATE_OFF to STATE_STANDBY ( #28148 )
2019-10-23 13:03:52 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Franck Nijhof
445c741b30
Use literal string interpolation in integrations R-S (f-strings) ( #26392 )
2019-09-03 21:14:39 +02:00
Pascal Vizeli
03aec33f9e
Fix roku lxml requirement ( #25696 )
2019-08-05 00:13:27 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Manuel Díez
42c50c5b5e
Add support for Roku TVs to be powered on or off ( #25590 )
2019-07-31 06:01:51 +02:00
Paulus Schoutsen
a52f96b23a
Add stub services.yaml and make validation mandatory ( #23213 )
2019-04-18 15:13:35 -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
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Joakim Plate
d16d14b648
Media player const.py move ( #20822 )
...
* Move more constants to const.py
* Import constants directly from const
* ATTR_ENTITY_ID is not defined in media_player
* MEDIA_PLAYER_PLAY_MEDIA_SCHEMA is still in __init__.py
* Correct imports in tts
* PLATFORM_SCHEMA, SCHEMA is still defined in __init__.py
* Pandora imports several services
* Some additional fixes for move of const in media_player
* Fix hound lengths
2019-02-08 14:18:18 -08:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ( #20677 )
...
* Consolidate all components with platforms
* Organize tests
* Fix more tests
* Fix Verisure tests
* one final test fix
* Add change
* Fix coverage
2019-02-02 07:13:16 -08:00