Fix media_player descriptions and select_source (#3030)

🐬
pull/3036/head
Martin Hjelmare 2016-08-29 04:00:43 +02:00 committed by Teagan Glenn
parent b6ad0bfbea
commit 1699885907
2 changed files with 5 additions and 6 deletions

View File

@ -97,7 +97,6 @@ SERVICE_TO_METHOD = {
SERVICE_MEDIA_STOP: 'media_stop',
SERVICE_MEDIA_NEXT_TRACK: 'media_next_track',
SERVICE_MEDIA_PREVIOUS_TRACK: 'media_previous_track',
SERVICE_SELECT_SOURCE: 'select_source',
SERVICE_CLEAR_PLAYLIST: 'clear_playlist'
}

View File

@ -40,25 +40,25 @@ volume_down:
description: Name(s) of entities to turn volume down on
example: 'media_player.living_room_sonos'
mute_volume:
volume_mute:
description: Mute a media player's volume
fields:
entity_id:
description: Name(s) of entities to mute
example: 'media_player.living_room_sonos'
mute:
is_volume_muted:
description: True/false for mute/unmute
example: true
set_volume_level:
volume_set:
description: Set a media player's volume level
fields:
entity_id:
description: Name(s) of entities to set volume level on
example: 'media_player.living_room_sonos'
volume:
volume_level:
description: Volume level to set
example: 60
@ -117,7 +117,7 @@ media_seek:
entity_id:
description: Name(s) of entities to seek media on
example: 'media_player.living_room_chromecast'
position:
seek_position:
description: Position to seek to. The format is platform dependent.
example: 100