cgtobi
c8d49a8adf
Add Spotify media browser capability ( #39240 )
...
Co-authored-by: Tobias Sauerwein <cgtobi@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-08-27 17:00:36 +02:00
jjlawren
6d95ee7a00
Websocket media browsing for Plex ( #35590 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-08-24 12:41:01 +02:00
Charles Garwood
18833d342e
Fix typo in media_player docstring ( #38843 )
2020-08-13 10:16:28 -04:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
HomeAssistant Azure
a6fb9e6100
[ci skip] Translation update
2020-07-03 00:03:38 +00:00
HomeAssistant Azure
f4a518edcc
[ci skip] Translation update
2020-05-30 00:03:23 +00:00
Ville Skyttä
f8416484f8
More data entry flow and HTTP related type hints ( #34430 )
2020-05-26 09:28:22 -05: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
Franck Nijhof
e3e3a113e9
async_get_url -> get_url ( #35382 )
2020-05-08 21:53:28 +02:00
Franck Nijhof
2223592486
Add get_url helper, deprecate base_url ( #35224 )
2020-05-08 02:29:47 +02:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
HomeAssistant Azure
7faba60e83
[ci skip] Translation update
2020-04-29 00:03:31 +00:00
HomeAssistant Azure
aa2bfbb541
[ci skip] Translation update
2020-04-27 00:02:20 +00:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
HomeAssistant Azure
da87ec8499
[ci skip] Translation update
2020-04-23 00:05:07 +00:00
HomeAssistant Azure
46920e9be6
[ci skip] Translation update
2020-04-22 00:03:20 +00:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter ( #34434 )
2020-04-20 18:07:50 -07:00
Paulus Schoutsen
95357dfc55
Update translations
2020-04-20 16:33:54 -07:00
Paulus Schoutsen
d560e8245a
Import state strings ( #34451 )
2020-04-20 16:25:35 -07:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
6119e79023
Migrate frontend translations of domains to backend ( #34294 )
2020-04-16 11:52:27 -07:00
HomeAssistant Azure
32e87fc4c7
[ci skip] Translation update
2020-04-11 00:03:44 +00:00
springstan
9a40d5b7ed
Use HTTP_NOT_FOUND constant ( #33835 )
2020-04-09 00:57:47 +02:00
springstan
fb8f8133a0
Use HTTP_INTERNAL_SERVER_ERROR constant ( #33832 )
2020-04-08 23:20:03 +02:00
springstan
8d61893c39
Use HTTP_OK constant ( #33798 )
...
* Use http ok constant
* Remove incorrect use
* Run isort
* Fix pylint by adding missing imports
* Fix pylint by fixing one import
2020-04-08 11:47:38 -05:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* Add prettier (in pre-commit and CI)
* Make all file prettier
* Change order
* Add to Azure Pipelines
* Fix a YAML file prettier caught as invalid
* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
springstan
ba0aaeeddb
Use f-strings in integrations starting with "M" ( #32271 )
...
* Use f-strings in integrations starting with "M"
* Format mqtt light init with black
* Fix lint error
* Fix pylint error
* Restore constants
* Update homeassistant/components/mqtt/discovery.py
* Update homeassistant/components/mqtt/discovery.py
* Update homeassistant/components/mqtt/discovery.py
* Update homeassistant/components/mqtt/discovery.py
* Format with Black
2020-03-10 23:34:54 +01:00
Paulus Schoutsen
d885853b35
Make it possible to fetch proxy media player album art ( #32471 )
2020-03-05 11:45:36 -08:00
HomeAssistant Azure
5483de7e25
[ci skip] Translation update
2020-02-08 00:31:45 +00:00
Paulus Schoutsen
7687ac8b91
Fix service annotations ( #31402 )
...
* Fix service annotations
* Filter area_id from service data
* Fix services not accepting entities
* Typo
2020-02-02 15:36:39 -08:00
Christian Clauss
df7d2b3aeb
Fix typos found by codespell ( #31243 )
...
* Fix typos found by codespell
* Fix typos found by codespell
* codespell: Furture ==> Future
* Update test_config_flow.py
* Update __init__.py
* Spellcheck: successfull ==> successful
* Codespell: unsuccesful ==> unsuccessful
* Codespell: cant ==> can't
* Codespell: firware ==> firmware
* Codespell: mimick ==> mimic
2020-01-31 08:33:00 -08:00
HomeAssistant Azure
74413e07d0
[ci skip] Translation update
2020-01-31 00:31:57 +00:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ( #31281 )
...
* Fix callback and async
* Fix a return
* Fix test
* Fix mqtt tests
* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Jeff Irion
bb37f7bb75
Fix capability_attributes when supported_features is None ( #30993 )
...
* Fix capability_attributes when supported_features is None (water_heater)
* Fix capability_attributes when supported_features is None (media_player)
2020-01-19 23:06:35 -08:00
HomeAssistant Azure
6c84c126ea
[ci skip] Translation update
2020-01-19 00:32:00 +00:00
Paulus Schoutsen
ed6aef2fd7
Implement capability attributes ( #30545 )
...
* Implement capability attributes
* Fix HeOS update order
* Fix test
2020-01-08 21:22:56 +01:00
Franck Nijhof
bfa0edaf92
Migrate Integration Quality Scale from docs to manifest: internal ( #30551 )
2020-01-07 20:58:49 +01:00
Franck Nijhof
dc02c28891
Correct names in manifests (M-P) ( #30541 )
2020-01-07 13:28:35 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
HomeAssistant Azure
d1ed67f44a
[ci skip] Translation update
2020-01-06 00:32:11 +00:00
Jeff Irion
83e05da0b3
Fix media_player example for select_source service ( #30358 )
2020-01-01 19:40:11 +01:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
HomeAssistant Azure
bb35d93fde
[ci skip] Translation update
2019-12-25 00:32:06 +00:00
Bas Nijholt
eb47c2b148
Sort imports according to PEP8 for media_player ( #29665 )
2019-12-09 12:17:41 +01:00
Paulus Schoutsen
02d9ed5e36
Do not select all entities when omitting entity ID in service call ( #29178 )
...
* Do not select all entities when omitting entity ID
* Address comments Matthew
* Require either area_id or entity_id
* Fix tests
* Fix test
2019-12-02 16:23:12 -08:00
HomeAssistant Azure
f6dd51a7fb
[ci skip] Translation update
2019-11-28 00:32:18 +00:00
Raman Gupta
d577868190
move yamaha service to yamaha domain ( #29142 )
2019-11-27 18:13:54 +01:00
Raman Gupta
12ae8b025f
move squeezebox service to squeezebox domain ( #29141 )
2019-11-27 13:54:00 +01:00
Raman Gupta
ec61a86678
move service constants to const.py and move channels services to channels domain ( #29139 )
2019-11-27 11:23:52 +01:00
Raman Gupta
c72e230432
move songpal service to songpal domain ( #29143 )
2019-11-27 11:19:01 +01:00
Raman Gupta
c21650473a
Update service domain for epson from 'media_player' to 'epson' ( #29113 )
...
* update .coveragerc, move epson constants to const.py, move epson cutsom service to epson domain
* Newline in services.yaml
2019-11-26 11:12:50 -08:00
Raman Gupta
9e01591cac
Update service domain for blackbird from 'media_player' to 'blackbird' ( #29112 )
...
* move service constants to const.py, update blackbird custom service domain
* Readd bluesound services.yaml entries since it should be part of a different branch
2019-11-26 11:10:13 -08:00
Raman Gupta
2da37778af
Update service domain for bluesound from 'media_player' to 'bluesound' ( #29111 )
...
* move service constants to const.py, move services to bluesound domain
* Remove bluesound services from media_player/services.yaml
2019-11-26 11:06:34 -08:00
Raman Gupta
499838d5a7
move service constants to const.py, move custom services to monoprice domain ( #29099 )
2019-11-26 10:07:29 -08:00
Ville Skyttä
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
HomeAssistant Azure
d2d9f09f13
[ci skip] Translation update
2019-11-13 00:32:12 +00:00
HomeAssistant Azure
64166583b3
[ci skip] Translation update
2019-11-08 00:32:12 +00:00
HomeAssistant Azure
265c390b65
[ci skip] Translation update
2019-11-07 00:32:16 +00:00
HomeAssistant Azure
f71527d5db
[ci skip] Translation update
2019-11-03 00:31:44 +00:00
HomeAssistant Azure
4863face69
[ci skip] Translation update
2019-11-02 00:31:48 +00:00
HomeAssistant Azure
bb6a617a6f
[ci skip] Translation update
2019-11-01 00:32:13 +00:00
HomeAssistant Azure
e700384cce
[ci skip] Translation update
2019-10-30 00:32:11 +00:00
HomeAssistant Azure
0e4331e922
[ci skip] Translation update
2019-10-29 00:32:16 +00:00
HomeAssistant Azure
72dee7dd21
[ci skip] Translation update
2019-10-28 00:32:16 +00:00
HomeAssistant Azure
868f88a4e0
[ci skip] Translation update
2019-10-27 00:32:10 +00:00
HomeAssistant Azure
7096826d1d
[ci skip] Translation update
2019-10-26 00:32:20 +00:00
Hayley McIldoon
2c914e0c59
Add device condition support for media_player ( #28161 )
...
* Add device condition for media_player
* Fix typo in strings
2019-10-25 10:22:39 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Ville Skyttä
f259ff17d5
Type hint additions ( #26831 )
...
* Type hint additions
* Remove optional from sidebar_icon comment
Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
* Remove optional from sidebar_title comment
Co-Authored-By: Franck Nijhof <frenck@frenck.nl>
* Fix issues after rebase and mypy 0.730
2019-09-29 20:07:49 +03:00
Ville Skyttä
54242cd65c
Type hint additions ( #26765 )
2019-09-20 08:23:34 -07:00
Ville Skyttä
b738082dad
Type check various base components ( #25878 )
...
* Type check various component base classes, disabling bunch of checks for now
* Type hint fixes
* Help mypy out some
* Add more type hints
2019-08-11 20:38:18 -07:00
Paulus Schoutsen
cf90e49b50
Make reproduce state use platform instead of rely on function ( #25856 )
...
* Make reproduce state use platform instead of rely on function
* Fix types
* address comment Martin.
2019-08-11 20:03:21 -07:00
Jeff Irion
68ee828674
Move Kodi services from 'media_player' domain to 'kodi' ( #25753 )
...
* Create const.py
* Register services to 'kodi' domain, not 'media_player'
* Add const.py to .coveragerc
* 'DATA_KODI' -> 'DOMAIN'
* Move the Kodi services descriptions to the Kodi component
* Register Kodi services in __init__.py
* Finish registering Kodi services in __init__.py
* Remove logging statement intended only for testing
* Combine homeassistant.const imports
* Add __init__.py to .coveragerc
2019-08-10 14:31:04 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Aaron Bach
f1e4153b2c
Add area support to media player service schemas ( #25436 )
...
* Add area support to media player service schemas
* Re-establish MEDIA_PLAYER_SCHEMA
* Comment
* Localize platforms that used MEDIA_PLAYER_SCHEMA
2019-07-23 18:54:59 -06:00
nierob
979f801488
Avoid creating temporary lists ( #25317 )
...
That gives nano performance improvements as *() is slightly faster
then *[].
2019-07-19 13:36:18 -07:00
lyghtnox
caa7a3a3d6
Multiroom support for snapcast ( #24061 )
...
* Multiroom support for snapcast
* Moving services to the snapcast domain
* Passing asyncio event via dispatcher instead of hass.data
* Fixing lint
2019-07-19 12:43:44 -07:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
Paulus Schoutsen
45085dd97f
Better handle large amounts of data being sent over WS ( #23842 )
...
* Better handle large amounts of data being sent over WS
* Lint
2019-05-14 05:57:47 +02:00
ktnrg45
3e59e7f347
Add media_type_app to media_player ( #23666 )
...
* Add media_type_app
* Add MEDIA_TYPE_APP
* Bump 0.7.3
* Bump 0.7.3
* Bump 0.7.3
* typo
2019-05-05 18:53:08 -05:00
Anders Melchiorsen
2efc1de349
Move Sonos services to sonos domain ( #23670 )
2019-05-05 14:25:57 -05:00
Andrew Sayre
b5725f8f19
Fix supported features gates in media_player volume up/down services ( #23419 )
...
* Correct media player feature gates
* Fix failing test
* Lint...
2019-04-25 21:42:39 -07:00
Joakim Plate
39932d132d
Add device classes for media player and map to google types ( #23236 )
...
* Add device classes for media player and map to google types
* Switch default class for media_player to media
2019-04-25 13:12:11 -07:00
Paulus Schoutsen
de6fdb09f4
Add media player external url ( #23337 )
...
* Add media player external url
* Lint
* Simplify
* Update __init__.py
* Update __init__.py
* Use 302
2019-04-24 22:37:29 -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
Andrew Sayre
7624d0e79f
Check for supported features in media_player services ( #22878 )
...
* Add check for supported features
* Move logic to service helper
* Fix hacked in test for seek
* Test for service required features
2019-04-10 09:44:58 -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
Clifford W. Hansen
ece9c62ee8
Add game and app media types ( #22459 )
...
* Added game and app media types
* Changed media type to game from music
* Removed app type as it is not used yet
2019-03-27 21:20:43 -07:00
Steven Looman
1b0e523a60
Add support for 'image' media type ( #22353 )
2019-03-24 17:40:27 -07:00
Paulus Schoutsen
1ddc249989
Consolidate more platforms ( #22308 )
...
* Consolidate final platforms
* Fix some tests
* Fix more tests
* Fix more tests
2019-03-23 20:22:35 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07: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
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
David McNett
4f49bdf262
Minor version bump for anthemav package ( #21932 )
...
Additional Python 3.7 fixes in the anthemav package.
See also: https://pypi.org/project/anthemav/
2019-03-11 20:47:57 +05:30
Steven Looman
3ffff887d8
Adds option in UPnP component to override callback url ( #21583 )
...
* Add option to override callback url
* Upgrade to async_upnp_client==0.14.5
* Fix requirements_all.txt
2019-03-05 15:48:44 +00:00