🚜 Merges/Redirect Roku component pages (#8650)

This commit is contained in:
Klaas Schoute 2019-02-20 13:26:36 +01:00 committed by Fabian Affolter
parent 9d7f5dd8b6
commit 375799210e
3 changed files with 63 additions and 80 deletions

View File

@ -1,16 +0,0 @@
---
layout: page
title: "Roku Media Player"
description: "Instructions on how to integrate Roku into Home Assistant."
date: 2016-05-16 20:0+0000
sidebar: true
comments: false
sharing: true
footer: true
logo: roku.png
ha_category: Media Player
ha_release: "0.20"
ha_iot_class: "Local Polling"
---
To set up the `roku` media player platform, please follow the instructions on the [Roku Component page](/components/roku/).

View File

@ -1,60 +0,0 @@
---
layout: page
title: "Roku Remote"
description: "Instructions on how to integrate Roku into Home Assistant."
date: 2018-10-17 20:0+0000
sidebar: true
comments: false
sharing: true
footer: true
logo: roku.png
ha_category: Remote
ha_release: 0.86
ha_iot_class: "Local Polling"
---
The `roku` remote platform allows you to send remote control buttons to a Roku device. It is automatically set up when a Roku is configured; please see [Roku Component page](/components/roku/) for configuration details.
At the moment, the following buttons are supported:
- back
- backspace
- channel_down
- channel_up
- down
- enter
- find_remote
- forward
- home
- info
- input_av1
- input_hdmi1
- input_hdmi2
- input_hdmi3
- input_hdmi4
- input_tuner
- left
- literal
- play
- power
- replay
- reverse
- right
- search
- select
- up
- volume_down
- volume_mute
- volume_up
A typical service call for pressing several buttons looks like this.
```yaml
service: remote.send_command
data:
entity_id: remote.roku
command:
- left
- left
- select
```

View File

@ -8,19 +8,30 @@ comments: false
sharing: true
footer: true
logo: roku.png
ha_category: Hub
ha_category:
- Hub
- Media Player
- Remote
ha_iot_class: "Local Polling"
ha_release: 0.86
redirect_from:
- /components/remote.roku/
- /components/media_player.roku/
---
The [Roku](http://www.roku.com/) component allows integration of Roku [media players](/components/media_player.roku) and [remotes](/components/remote.roku/) which will be automatically discovered if you enable the [discovery component](/components/discovery/).
The [Roku](http://www.roku.com/) component allows integration of Roku, which will be automatically discovered if you enable the [discovery component](/components/discovery/).
There is currently support for the following device types within Home Assistant:
- Media Player
- Remote
The `roku` component can also be forced to load by adding the following lines to your `configuration.yaml`:
```yaml
# Example configuration.yaml entry
roku:
- host: 192.168.1.100
- host: IP_ADDRESS
```
{% configuration %}
@ -28,10 +39,58 @@ host:
description: Set the IP address of the Roku device. Use only if you don't want to autodiscover devices.
required: false
type: string
{% endconfiguration %}
{% endconfiguration %}
## {% linkable_title Services %}
### {% linkable_title Service `roku_scan` %}
Scans the local network for Rokus. All found devices are presented as a persistent notification.
## {% linkable_title Remote %}
The `roku` remote platform allows you to send remote control buttons to a Roku device. It is automatically set up when a Roku is configured.
At the moment, the following buttons are supported:
- back
- backspace
- channel_down
- channel_up
- down
- enter
- find_remote
- forward
- home
- info
- input_av1
- input_hdmi1
- input_hdmi2
- input_hdmi3
- input_hdmi4
- input_tuner
- left
- literal
- play
- power
- replay
- reverse
- right
- search
- select
- up
- volume_down
- volume_mute
- volume_up
A typical service call for pressing several buttons looks like this.
```yaml
service: remote.send_command
data:
entity_id: remote.roku
command:
- left
- left
- select
```