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
GitHub Action
ff3fd4c29d
[ci skip] Translation update
2022-08-16 00:30:51 +00:00
Marc Mueller
af002d9dc4
Use TriggerActionType [core, l-m] ( #76806 )
2022-08-15 17:39:55 +02:00
epenet
aadecdf6cb
Add type hints to MediaPlayerEntity ( #76743 )
...
* Add media-player checks to pylint plugin
* Fix invalid hints
* Add tests
* Adjust tests
* Add extra test
* Adjust regex
* Cleanup comment
* Revert
* Revert
* Update homeassistant/components/media_player/__init__.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Update homeassistant/components/denonavr/media_player.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-08-15 00:54:25 +03:00
GitHub Action
bec8e544f4
[ci skip] Translation update
2022-08-14 00:25:47 +00:00
GitHub Action
7c81f790a7
[ci skip] Translation update
2022-08-12 00:23:47 +00:00
GitHub Action
519d478d61
[ci skip] Translation update
2022-08-11 00:26:23 +00:00
GitHub Action
f11fbf2989
[ci skip] Translation update
2022-08-08 00:22:41 +00:00
GitHub Action
32a2999b85
[ci skip] Translation update
2022-08-06 00:24:46 +00:00
GitHub Action
cb46441b74
[ci skip] Translation update
2022-08-05 00:28:51 +00:00
GitHub Action
81e3ef03f7
[ci skip] Translation update
2022-08-02 00:27:42 +00:00