mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Add remote platform docs to directv (#12365)
* Update directv.markdown * Update directv.markdown
This commit is contained in:
parent
deecd6d390
commit
9efb32ba1e
@ -3,6 +3,7 @@ title: DirecTV
|
|||||||
description: Instructions on how to integrate DirecTV receivers into Home Assistant.
|
description: Instructions on how to integrate DirecTV receivers into Home Assistant.
|
||||||
ha_category:
|
ha_category:
|
||||||
- Media Player
|
- Media Player
|
||||||
|
- Remote
|
||||||
ha_release: 0.25
|
ha_release: 0.25
|
||||||
ha_iot_class: Local Polling
|
ha_iot_class: Local Polling
|
||||||
ha_domain: directv
|
ha_domain: directv
|
||||||
@ -59,3 +60,66 @@ Available services: turn_on, turn_off, media_play, media_pause, media_stop, medi
|
|||||||
| `entity_id` | yes | Target a specific media player. Defaults to all. |
|
| `entity_id` | yes | Target a specific media player. Defaults to all. |
|
||||||
| `media_content_id` | no | The channel number to change to. |
|
| `media_content_id` | no | The channel number to change to. |
|
||||||
| `media_content_type` | no | A media type. Has to be `channel`.
|
| `media_content_type` | no | A media type. Has to be `channel`.
|
||||||
|
|
||||||
|
## Remote
|
||||||
|
|
||||||
|
The DirecTV remote platform allows you to send remote control buttons to a DirecTV receiver. It is automatically set up when a DirecTV receiver is configured.
|
||||||
|
|
||||||
|
At the moment, the following buttons are supported:
|
||||||
|
|
||||||
|
- `power`
|
||||||
|
- `poweron`
|
||||||
|
- `poweroff`
|
||||||
|
- `format`
|
||||||
|
- `pause`
|
||||||
|
- `rew`
|
||||||
|
- `replay`
|
||||||
|
- `stop`
|
||||||
|
- `advance`
|
||||||
|
- `ffwd`
|
||||||
|
- `record`
|
||||||
|
- `play`
|
||||||
|
- `guide`
|
||||||
|
- `active`
|
||||||
|
- `list`
|
||||||
|
- `exit`
|
||||||
|
- `back`
|
||||||
|
- `menu`
|
||||||
|
- `info`
|
||||||
|
- `up`
|
||||||
|
- `down`
|
||||||
|
- `left`
|
||||||
|
- `right`
|
||||||
|
- `select`
|
||||||
|
- `red`
|
||||||
|
- `green`
|
||||||
|
- `yellow`
|
||||||
|
- `blue`
|
||||||
|
- `chanup`
|
||||||
|
- `chandown`
|
||||||
|
- `prev`
|
||||||
|
- `0`
|
||||||
|
- `1`
|
||||||
|
- `2`
|
||||||
|
- `3`
|
||||||
|
- `4`
|
||||||
|
- `5`
|
||||||
|
- `6`
|
||||||
|
- `7`
|
||||||
|
- `8`
|
||||||
|
- `9`
|
||||||
|
- `dash`
|
||||||
|
- `enter`
|
||||||
|
|
||||||
|
A typical service call for press several buttons looks like this.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
service: remote.send_command
|
||||||
|
data:
|
||||||
|
entity_id: remote.directv_entity
|
||||||
|
command:
|
||||||
|
- left
|
||||||
|
- left
|
||||||
|
- menu
|
||||||
|
- select
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user