mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Add missing media_player features to Samsung TV (#115788)
* add missing features * fix snapshot
This commit is contained in:
parent
b462fdbf51
commit
ff83d9acff
@ -46,15 +46,17 @@ from .triggers.turn_on import async_get_turn_on_trigger
|
|||||||
SOURCES = {"TV": "KEY_TV", "HDMI": "KEY_HDMI"}
|
SOURCES = {"TV": "KEY_TV", "HDMI": "KEY_HDMI"}
|
||||||
|
|
||||||
SUPPORT_SAMSUNGTV = (
|
SUPPORT_SAMSUNGTV = (
|
||||||
MediaPlayerEntityFeature.PAUSE
|
MediaPlayerEntityFeature.NEXT_TRACK
|
||||||
| MediaPlayerEntityFeature.VOLUME_STEP
|
| MediaPlayerEntityFeature.PAUSE
|
||||||
| MediaPlayerEntityFeature.VOLUME_MUTE
|
|
||||||
| MediaPlayerEntityFeature.PREVIOUS_TRACK
|
|
||||||
| MediaPlayerEntityFeature.SELECT_SOURCE
|
|
||||||
| MediaPlayerEntityFeature.NEXT_TRACK
|
|
||||||
| MediaPlayerEntityFeature.TURN_OFF
|
|
||||||
| MediaPlayerEntityFeature.PLAY
|
| MediaPlayerEntityFeature.PLAY
|
||||||
| MediaPlayerEntityFeature.PLAY_MEDIA
|
| MediaPlayerEntityFeature.PLAY_MEDIA
|
||||||
|
| MediaPlayerEntityFeature.PREVIOUS_TRACK
|
||||||
|
| MediaPlayerEntityFeature.SELECT_SOURCE
|
||||||
|
| MediaPlayerEntityFeature.STOP
|
||||||
|
| MediaPlayerEntityFeature.TURN_OFF
|
||||||
|
| MediaPlayerEntityFeature.VOLUME_MUTE
|
||||||
|
| MediaPlayerEntityFeature.VOLUME_SET
|
||||||
|
| MediaPlayerEntityFeature.VOLUME_STEP
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
'TV',
|
'TV',
|
||||||
'HDMI',
|
'HDMI',
|
||||||
]),
|
]),
|
||||||
'supported_features': <MediaPlayerEntityFeature: 20413>,
|
'supported_features': <MediaPlayerEntityFeature: 24509>,
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'media_player.any',
|
'entity_id': 'media_player.any',
|
||||||
@ -51,7 +51,7 @@
|
|||||||
'original_name': None,
|
'original_name': None,
|
||||||
'platform': 'samsungtv',
|
'platform': 'samsungtv',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'supported_features': <MediaPlayerEntityFeature: 20413>,
|
'supported_features': <MediaPlayerEntityFeature: 24509>,
|
||||||
'translation_key': None,
|
'translation_key': None,
|
||||||
'unique_id': 'sample-entry-id',
|
'unique_id': 'sample-entry-id',
|
||||||
'unit_of_measurement': None,
|
'unit_of_measurement': None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user