mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Update Philips_js media_player component configuration (#7086)
This commit is contained in:
parent
1a7688ae1b
commit
476bc70890
@ -13,7 +13,6 @@ ha_iot_class: "Local Polling"
|
|||||||
ha_release: 0.34
|
ha_release: 0.34
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
The `philips_js` platform allows you to control Philips TVs which expose the [jointSPACE](http://jointspace.sourceforge.net/) API. Instructions on how to activate the API and if your model is supported can be found [here](http://jointspace.sourceforge.net/download.html).
|
The `philips_js` platform allows you to control Philips TVs which expose the [jointSPACE](http://jointspace.sourceforge.net/) API. Instructions on how to activate the API and if your model is supported can be found [here](http://jointspace.sourceforge.net/download.html).
|
||||||
|
|
||||||
To add your TV to your installation, add the following to your `configuration.yaml` file:
|
To add your TV to your installation, add the following to your `configuration.yaml` file:
|
||||||
@ -25,18 +24,32 @@ media_player:
|
|||||||
host: 192.168.1.99
|
host: 192.168.1.99
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
host:
|
||||||
- **host** (*Required*): IP address of TV.
|
description: IP address of TV.
|
||||||
- **name** (*Optional*): The name you would like to give to the Philips TV.
|
required: true
|
||||||
- **turn_on_action** (*Optional*): A script that will be executed to turn on the TV (can be used with wol).
|
default: 127.0.0.1 (localhost).
|
||||||
- **api_version** (*Optional*): The JointSpace API version of your Philips TV, defaults to `1`. This is an experimental option and not all the functionalities are guaranteed to work with API versions different from `1` and `5`.
|
type: string
|
||||||
|
name:
|
||||||
|
description: The name you would like to give to the Philips TV.
|
||||||
|
required: false
|
||||||
|
default: Philips TV
|
||||||
|
type: string
|
||||||
|
turn_on_action:
|
||||||
|
description: A script that will be executed to turn on the TV (can be used with wol).
|
||||||
|
required: false
|
||||||
|
type: list
|
||||||
|
api_version:
|
||||||
|
description: The JointSpace API version of your Philips TV. This is an experimental option and not all the functionalities are guaranteed to work with API versions different from `1` and `5`.
|
||||||
|
required: false
|
||||||
|
default: 1
|
||||||
|
type: integer
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
<p class='note'>
|
<p class='note'>
|
||||||
When using api_version: 5 changing sources switches tv channels. Additionally this allows setting the volume level.
|
When using api_version: 5 changing sources switches tv channels. Additionally this allows setting the volume level.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml with turn_on_action
|
# Example configuration.yaml with turn_on_action
|
||||||
media_player:
|
media_player:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user