Add component collection

This commit is contained in:
Paulus Schoutsen 2015-10-24 21:44:04 -07:00
parent 9702d39c42
commit 120dbf547d
113 changed files with 323 additions and 120 deletions

View file

@ -0,0 +1,52 @@
---
layout: page
title: "Media Player"
description: "Instructions how to setup your media players with Home Assistant."
date: 2015-01-24 14:39
sidebar: false
comments: false
sharing: true
footer: true
---
Interacts with media players on your network.
Currently supported devices:
- [Chromecasts](/components/media_player.cast.html)
- [Denon Network Receivers](/components/media_player.denon.html)
- [iTunes](/components/media_player.itunes.html)
- [Kodi](/components/media_player.kodi.html)
- [Music Player Daemon](/components/media_player.mpd.html)
- [Plex](/components/media_player.plex.html)
- [Sonos](/components/media_player.sonos.html)
- [Squeezebox](/components/media_player.squeezebox.html)
## Services
### Media control services
Available services: `turn_off`, `volume_up`, `volume_down`, `media_play_pause`, `media_play`, `media_pause`, `media_next_track`
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | yes | Target a specific media player. Defaults to all.
### Media play services
There are three services to start playing YouTube video's on the media player.
#### Service `media_player/play_youtube_video`
Service to start playing a YouTube video on the media player.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | yes | Target a specific media player. Defaults to all.
| `video` | no | YouTube video to be played, ie. `L0MK7qz13bU`
#### Service `media_player/start_fireplace` and `media_player/start_epic_sax`
Will either start a fireplace or Epic Sax Guy 10h on the media player.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | yes | Target a specific media player. Defaults to all.