mvn23
212fb572e1
Fix kodi media_player unavailable at start ( #41714 )
2020-11-17 07:27:58 -10:00
On Freund
a50405aa6e
Fix kodi.add_to_playlist ( #41185 )
2020-10-04 10:53:44 +02:00
cgtobi
f9f17dc718
Update Kodi to no longer use protected methods ( #40788 )
...
* Replace protected methods
* Fix method name
* Bump PyKodi version to 0.2.1
* Reuse variable
2020-10-03 15:12:18 -05:00
On Freund
3f514da285
Fix kodi.call_method ( #40236 )
2020-09-18 15:24:14 +02:00
On Freund
cf6b84790f
Handle Kodi shutdown ( #39856 )
...
* Handle Kodi shutdown
* Core review comments
* Make async_on_quit a coroutine
2020-09-12 14:22:14 +02:00
cgtobi
ef8cdf0405
Add Kodi media browser support ( #39729 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-07 18:22:20 +02:00
On Freund
c1ed584f2d
Add config flow to kodi ( #38551 )
...
* Add config flow to kodi
* Fix lint errors
* Remove entry update listener
* Create test_init.py
* Apply suggestions from code review
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update __init__.py
* fix indentation
* Apply suggestions from code review
* Apply suggestions from code review
* Update tests/components/kodi/__init__.py
* Fix init test
* Fix merge
* More review changes
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Fix black formatting
* Fix Flake8
* Don't store CONF_ID
* Fall back to entry id
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update __init__.py
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-20 23:16:58 -05:00
Phil Bruckner
716fa63e73
Update script helper constructor parameters ( #38763 )
...
Add domain and make it and name required.
Add optional running_description.
2020-08-12 11:39:05 -05:00
Ian Duffy
ef039d6a65
Fix Kodi play_media media type casing ( #38665 )
...
* [KODI] Fix casing issue
Alexa and the Services UI on HA feeds in a media type of "channel" for media type.
The Kodi code looks for a "CHANNEL" instead, as a result the functionality fails.
* Update homeassistant/components/kodi/media_player.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/kodi/media_player.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/kodi/media_player.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/kodi/media_player.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-09 11:25:22 -05:00
J. Nick Koston
f06ae1fa95
Prevent kodi from blocking startup ( #38257 )
...
* Prevent kodi from blocking startup
* Update homeassistant/components/kodi/media_player.py
* isort
* ignore args
* adjustments per review
* asyncio
2020-07-28 07:43:42 +02:00
Thomas Hollstegge
3af3900581
Kodi: Correctly report media content type for PVR channels ( #35091 )
2020-05-09 22:25:52 -04:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
springstan
db72039b8f
Use list literals ( #33659 )
2020-04-04 23:14:47 +02:00
springstan
0d95eff21d
Use dict literals ( #33658 )
2020-04-04 22:31:56 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
springstan
157f972d72
Use f-strings in integrations starting with "H" - "L" ( #32265 )
...
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
2020-02-28 12:39:29 +01: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
thoscut
93d109e524
Add DIRECTORY and PLUGIN to kodi media types ( #28336 )
2020-01-22 19:31:03 +01:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Bas Nijholt
076e0273a2
Sort imports according to PEP8 for kodi ( #29721 )
2019-12-08 23:42:04 +01:00
Paolo Tuninetto
cc93dd4928
Move imports in Kodi component ( #27728 )
...
* Move imports for Kodi component
* Removed empty line ad requested by review
2019-10-16 12:05:05 +02:00
Franck Nijhof
7203027cbf
Use literal string interpolation in integrations K-M (f-strings) ( #26389 )
2019-09-03 21:14:00 +02: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
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
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
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
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