From c78bc43ac19b16cd9d5a95e7d6931ffc7f602844 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 3 Feb 2018 14:52:57 +0100 Subject: [PATCH] Fix configuration variables --- source/_components/media_player.mediaroom.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_components/media_player.mediaroom.markdown b/source/_components/media_player.mediaroom.markdown index d88d5673f41..44beff563e5 100644 --- a/source/_components/media_player.mediaroom.markdown +++ b/source/_components/media_player.mediaroom.markdown @@ -22,22 +22,23 @@ To add a Mediaroom STB to your installation, add the following to your `configur media_player: - platform: mediaroom host: 192.168.1.64 - name: TV Operator Box ``` {% configuration %} host: - description: The hostname or address of the device. + description: The hostname or IP address of the device. required: false type: string name: description: The name of the device used in the frontend. required: false type: string + default: Mediaroom STB optimistic: description: In case the component cannot determine the status of the box, consider the box always ON. required: false type: boolean + default: false {% endconfiguration %} Notice that all parameters are optional, and discovery should configure everything for you.