J. Nick Koston
0e8c85c5fc
Only lookup supported_features once in media_player capability_attributes ( #96510 )
2023-07-13 16:46:09 -10:00
Joost Lekkerkerker
b367c95c81
Add more common translations ( #96429 )
...
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
2023-07-12 22:00:05 -04:00
Franck Nijhof
18cc56ae96
Migrate media player services to support translations ( #96408 )
...
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-12 16:25:43 +02:00
Erik Montnemery
22357701f0
Add filters to media_player/services.yaml ( #95862 )
2023-07-10 20:21:28 +02:00
Erik Montnemery
87f284c7e9
Add MEDIA_ANNOUNCE to MediaPlayerEntityFeature ( #95906 )
2023-07-10 12:58:53 +02:00
Jan Bouwhuis
7eb087a9d7
Use common string references for device_automation translations ( #95897 )
2023-07-10 12:56:51 +02:00
Erik Montnemery
6dae3553f2
Add MEDIA_ENQUEUE to MediaPlayerEntityFeature ( #95905 )
2023-07-08 10:55:25 +02:00
Erik Montnemery
86a397720f
Move platform_integration_no_support issue to the homeassistant integration ( #95927 )
...
* Move platform_integration_no_support issue to the homeassistant integration
* Update test
* Improve repair text
* Update test
2023-07-07 13:31:54 +02:00
Jan Bouwhuis
c26dc0940c
Use common translations for `On`, `Off`, `Open` and `Closed` ( #95779 )
...
* Use common translations for On and Off
* Used common translations for open and closed
* Update homeassistant/components/sensibo/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Only update state translations
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-04 13:52:01 +02:00
Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
Erik Montnemery
4021662b48
Use entity registry id in media_player device conditions ( #95258 )
2023-06-26 20:30:22 +02:00
Erik Montnemery
c8cd469c95
Teach media_player device trigger about entity registry ids ( #94979 )
2023-06-21 16:09:28 +02:00
G Johansson
c6feb30c31
Raise issue "does not support platform setup" ( #93585 )
...
* Raise issue on platform missing
* Modify issue
* Remove deprecation
* Fix strings
* Strings
* Last strings
* strings to common
2023-05-28 21:53:32 +02:00
epenet
3b83340f6e
Improve get_browse_image type hints in media player ( #90057 )
2023-03-26 19:54:01 +02:00
epenet
f56bf134d2
Improve browse_media type hints in media player ( #90060 )
...
* Improve browse_media type hints in media player
* Adjust components
* Adjust base entity
2023-03-24 21:49:12 -07:00
Erik Montnemery
19d56a7102
Change error handling in async_process_play_media_url ( #90052 )
2023-03-22 13:32:02 +01:00
Franck Nijhof
dbebf8c783
Add state attribute translations for media players ( #89821 )
...
* Add state attribute translations for media players
* Process review comments
* Process review comments
* Fix and extend
* Add yes/no as generic state
2023-03-17 20:24:33 -04:00
Franck Nijhof
f9919bb7cf
Add pre-defined entity name translations ( #89792 )
2023-03-16 21:10:20 +01:00
Franck Nijhof
f32b7859b8
Restructure translations for entity components ( #89702 )
2023-03-16 12:16:08 +01:00
epenet
f2b736fad0
Adjust entity registry access in core platforms ( #88944 )
...
* Adjust entity registry access in platforms
* Adjust more core components
2023-03-01 08:02:16 +01:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 ( #87027 )
2023-02-08 20:38:43 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
GitHub Action
b81453cb6b
[ci skip] Translation update
2023-01-16 00:24:22 +00:00
Franck Nijhof
cf5fca0464
Code styling tweaks to core entity components ( #85460 )
2023-01-08 13:40:08 -10:00
GitHub Action
b3ab0a0199
[ci skip] Translation update
2022-12-29 00:23:20 +00:00
Franck Nijhof
baef267f33
String formatting and max line length - Part 3 ( #84394 )
2022-12-22 13:35:47 +01:00
GitHub Action
1f3e5fb4fc
[ci skip] Translation update
2022-12-07 00:24:08 +00:00
Franck Nijhof
647469f472
Remove str from media player device class ( #83398 )
...
* Remove str from media player device class
* Adjust pylint plugin
2022-12-06 14:57:34 +01:00
epenet
0316800347
Enforce MediaPlayerState in media-player entities ( #78467 )
2022-11-30 11:18:49 +01:00
GitHub Action
197e71203b
[ci skip] Translation update
2022-11-30 00:26:16 +00:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
GitHub Action
eaf6d43508
[ci skip] Translation update
2022-11-23 00:26:26 +00:00
epenet
6f05a74686
Enforce MediaPlayerEntityFeature ( #82462 )
2022-11-22 07:15:37 +01:00
GitHub Action
fe5246fb6f
[ci skip] Translation update
2022-11-19 00:26:11 +00:00
epenet
0c887eab87
Cleanup access to supported features ( #82274 )
2022-11-17 20:00:52 +01:00
epenet
18e30e7c06
Adjust type hints for MediaPlayerEntityFeature ( #82258 )
2022-11-17 13:58:34 +01:00
epenet
a91abebea8
Use IntFlag for EntityFeature ( #81903 )
2022-11-16 12:43:17 +01:00
Marc Mueller
0c8eeaa643
Update mypy to 0.990 ( #81783 )
...
* Update mypy to 0.990
* Remove type ignore - overriding attr with property (13475)
* Remove type ignores - hasattr (13544)
* Adjust type ignore - assignment (13549)
* New error code - type-abstract (13785)
* Disable annotation-unchecked (13851)
2022-11-08 14:41:39 +01:00
GitHub Action
ed565a6eb1
[ci skip] Translation update
2022-10-09 00:30:44 +00:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types ( #79593 )
2022-10-04 10:36:42 -04:00
Marc Mueller
dbc02707a9
Improve media_player typing ( #78666 )
2022-09-18 03:08:17 +02:00
epenet
391d895426
Enable disallow-any-generics in media-player ( #78498 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-17 21:23:16 +02:00
epenet
13f250319d
Import websocket api constants from root ( #78250 )
2022-09-12 22:07:58 -04:00
epenet
9cb8d910ce
Improve media-player typing ( #78300 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-12 23:32:07 +02:00
uvjustin
9b2d17cd00
Escape media_content_id in media player proxy ( #77811 )
...
* Escape media_content_id in media player proxy
* Change usage in kodi
* Change usage in roku
* Change usage in sonos
* Add test
* Add comment
* Change path regex instead of double quoting
* Use .+ instead of .*
2022-09-09 13:18:24 +02:00
epenet
5276d849ec
Improve type hints in apple_tv media player ( #77940 )
2022-09-08 10:46:23 +02:00
epenet
645f5e5ac1
Introduce new MediaPlayerState StrEnum ( #77941 )
...
* Adjust media-player checks in pylint plugin
* Adjust media-player definitions
* Adjust cast signatures
* Adjust play_media signature
* Introduce MediaPlayerState
* Fix cast implementations
* Revert cast changes
* Update hass_enforce_type_hints.py
* Use set
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Fix tests
* Keep unused constants
* Fix test
* Revert tests
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-07 16:30:22 +02:00
epenet
5de95663a9
Introduce new StrEnums in media player ( #77872 )
...
* Introduce RepeatMode enum in media player
* Add MediaClass and MediaType
2022-09-06 18:47:34 +02:00
Franck Nijhof
63d71457aa
Type BrowseMedia children as a covariant ( #76869 )
2022-08-16 16:31:09 +02:00