mirror of
https://github.com/jkocon/tv-card.git
synced 2026-02-24 05:14:40 +01:00
38 lines
2.3 KiB
Markdown
38 lines
2.3 KiB
Markdown
## Options
|
|
|
|
| Name | Type | Requirement | Description
|
|
| ---- | ---- | ------- | -----------
|
|
| type | string | **Required** | `custom:tv-card`
|
|
| entity | string | **Required** | `media_player` entity of Roku device
|
|
| remote | string | **Optional** | `remote` entity of Roku device. Default assume named like `entity`
|
|
| name | string | **Optional** | Card name
|
|
| theme | string | **Optional** | Card theme
|
|
| tv | boolean | **Optional** | If `true` shows volume and power buttons. Default `false`
|
|
| power | `service` | **Optional**| service to call when power button pressed
|
|
| volume_up | `service` | **Optional**| service to call when volume_up button pressed
|
|
| volume_down | `service` | **Optional**| service to call when volume_down button pressed
|
|
| back | `service` | **Optional**| service to call when back button pressed
|
|
| info | `service` | **Optional**| service to call when info button pressed
|
|
| home | `service` | **Optional**| service to call when home button pressed
|
|
| up | `service` | **Optional**| service to call when up button pressed
|
|
| left | `service` | **Optional**| service to call when left button pressed
|
|
| select | `service` | **Optional**| service to call when select button pressed
|
|
| right | `service` | **Optional**| service to call when right button pressed
|
|
| down | `service` | **Optional**| service to call when down button pressed
|
|
| reverse | `service` | **Optional**| service to call when reverse button pressed
|
|
| play | `service` | **Optional**| service to call when play button pressed
|
|
| forward | `service` | **Optional**| service to call when forward button pressed
|
|
| source | `service` | **Optional**| service to call when source button pressed
|
|
| channelup | `service` | **Optional**| service to call when channelup button pressed
|
|
| channeldown | `service` | **Optional**| service to call when channeldown button pressed
|
|
| volume_up | `service` | **Optional**| service to call when volume up button pressed
|
|
| volume_down | `service` | **Optional**| service to call when volume down button pressed
|
|
| volume_mute | `service` | **Optional**| service to call when volume mute button pressed
|
|
|
|
## `service` Options
|
|
| Name | Type | Requirement | Description
|
|
| ---- | ---- | ------- | -----------
|
|
| service | string | **Required** | Service to call
|
|
| service_data | string | **Optional** | Service data to use
|
|
|