From 7c13e8114517bdbc0d56e106c9db8fea3090a651 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 24 Apr 2019 09:50:44 -0700 Subject: [PATCH 1/2] Add remotely_accessible to media player --- docs/entity_media_player.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/entity_media_player.md b/docs/entity_media_player.md index 696dc1329dc..02a21ef0496 100644 --- a/docs/entity_media_player.md +++ b/docs/entity_media_player.md @@ -15,7 +15,8 @@ sidebar_label: Media Player | sound_mode_list | list | None | Dynamic list of available sound modes (set by platform, empty means sound mode not supported) | source | string | None | The currently selected input source for the media player. | source_list | list | None | The list of possible input sources for the media player. (This list should contain human readable names, suitible for frontend display) - +| media_image_url | string | None | URL that represents the current image. +| media_image_remotely_accessible | boolean | False | If property media_image_url is accessible outside of the home network. ## Methods ### Select sound mode @@ -23,7 +24,7 @@ Optional. Switch the sound mode of the media player. class MyMediaPlayer(MediaPlayerDevice): # Implement one of these methods. - + def select_sound_mode(self, sound_mode): """Switch the sound mode of the entity.""" From 94cec7d89b5817c28a9c6ba8a20558596749e688 Mon Sep 17 00:00:00 2001 From: Andrew Sayre <6730289+andrewsayre@users.noreply.github.com> Date: Wed, 24 Apr 2019 20:22:51 -0700 Subject: [PATCH 2/2] Update docs/entity_media_player.md Co-Authored-By: balloob --- docs/entity_media_player.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/entity_media_player.md b/docs/entity_media_player.md index 02a21ef0496..650ace00021 100644 --- a/docs/entity_media_player.md +++ b/docs/entity_media_player.md @@ -16,7 +16,7 @@ sidebar_label: Media Player | source | string | None | The currently selected input source for the media player. | source_list | list | None | The list of possible input sources for the media player. (This list should contain human readable names, suitible for frontend display) | media_image_url | string | None | URL that represents the current image. -| media_image_remotely_accessible | boolean | False | If property media_image_url is accessible outside of the home network. +| media_image_remotely_accessible | boolean | False | Return `True` if property `media_image_url` is accessible outside of the home network. ## Methods ### Select sound mode