Fix configuration variables

This commit is contained in:
Fabian Affolter 2018-02-03 14:52:57 +01:00 committed by GitHub
parent c16a434566
commit c78bc43ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,22 +22,23 @@ To add a Mediaroom STB to your installation, add the following to your `configur
media_player: media_player:
- platform: mediaroom - platform: mediaroom
host: 192.168.1.64 host: 192.168.1.64
name: TV Operator Box
``` ```
{% configuration %} {% configuration %}
host: host:
description: The hostname or address of the device. description: The hostname or IP address of the device.
required: false required: false
type: string type: string
name: name:
description: The name of the device used in the frontend. description: The name of the device used in the frontend.
required: false required: false
type: string type: string
default: Mediaroom STB
optimistic: optimistic:
description: In case the component cannot determine the status of the box, consider the box always ON. description: In case the component cannot determine the status of the box, consider the box always ON.
required: false required: false
type: boolean type: boolean
default: false
{% endconfiguration %} {% endconfiguration %}
Notice that all parameters are optional, and discovery should configure everything for you. Notice that all parameters are optional, and discovery should configure everything for you.