🚜 Merges/Redirect Apple TV component pages (#8580)

This commit is contained in:
Klaas Schoute 2019-02-14 20:40:01 +01:00 committed by Franck Nijhof
parent 1742c4a6df
commit e5bfaf5dad
3 changed files with 39 additions and 57 deletions

View File

@ -8,13 +8,24 @@ comments: false
sharing: true
footer: true
logo: apple.png
ha_category: Multimedia
ha_category:
- Multimedia
- Media Player
- Remote
ha_iot_class: "Local Push"
ha_release: 0.49
redirect_from:
- /components/media_player.apple_tv/
- /components/remote.apple_tv/
---
The `apple_tv` platform allows you to control an Apple TV (3rd and 4th generation). See the [remote platform](/components/remote.apple_tv/) if you want to send remote control buttons, e.g., arrow keys.
There is currently support for the following device types within Home Assistant:
- Media Player
- [Remote](#remote)
<p class='note'>
Currently, you must have Home Sharing enabled for this to work. Support for pairing Home Assistant with your device will be supported in a later release.
</p>
@ -160,3 +171,30 @@ To play media on an Apple TV with device authentication enabled (e.g., ATV4 with
### {% linkable_title Service `apple_tv_scan` %}
Scans the local network for Apple TVs. All found devices are presented as a persistent notification.
## {% linkable_title Remote %}
The `apple_tv` remote platform allows you to send remote control buttons to an Apple TV. It is automatically setup when an Apple TV is configured.
At the moment, the following buttons are supported:
- up
- down
- left
- right
- menu
- top_menu
- select
A typical service call for press several buttons looks like this.
```yaml
service: remote.send_command
data:
entity_id: remote.apple_tv
command:
- left
- left
- menu
- select
```

View File

@ -1,16 +0,0 @@
---
layout: page
title: "Apple TV Media Player"
description: "Instructions on how to integrate Apple TV devices into Home Assistant."
date: 2017-02-08 07:11
sidebar: true
comments: false
sharing: true
footer: true
logo: apple.png
ha_category: Media Player
ha_iot_class: "Local Push"
ha_release: 0.38
---
To setup the `apple_tv` media player platform, please follow the instructions on the [Apple TV Component page](/components/apple_tv/).

View File

@ -1,40 +0,0 @@
---
layout: page
title: "Apple TV Remote"
description: "Instructions on how to integrate Apple TV remote into Home Assistant."
date: 2017-06-26 20:50
sidebar: true
comments: false
sharing: true
footer: true
logo: apple.png
ha_category: Remote
ha_iot_class: "Local Push"
ha_release: 0.49
---
The `apple_tv` remote platform allows you to send remote control buttons to an Apple TV. It is automatically setup when an Apple TV is configured, please see [Apple TV Component](/components/apple_tv/) for configuration details.
At the moment, the following buttons are supported:
- up
- down
- left
- right
- menu
- top_menu
- select
A typical service call for press several buttons looks like this.
```yaml
service: remote.send_command
data:
entity_id: remote.apple_tv
command:
- left
- left
- menu
- select
```