From ea3a536de4b257141d0654e0451cc91b3e870aee Mon Sep 17 00:00:00 2001 From: BioSehnsucht Date: Wed, 27 Sep 2017 00:04:04 -0500 Subject: [PATCH] input_number support either input box or slider mode, but not both --- source/_components/input_number.markdown | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/source/_components/input_number.markdown b/source/_components/input_number.markdown index 047bac36d9e..d004c107980 100644 --- a/source/_components/input_number.markdown +++ b/source/_components/input_number.markdown @@ -12,7 +12,7 @@ ha_category: Automation ha_release: 0.16 --- -The `input_number` component allows the user to define values that can be controlled via the frontend and can be used within conditions of automation. The frontend can display a slider, a numeric input box, or both. Changes to the slider and/or numeric input box generate state events. These state events can be utilized as `automation` triggers as well. +The `input_number` component allows the user to define values that can be controlled via the frontend and can be used within conditions of automation. The frontend can display a slider, or a numeric input box. Changes to the slider or numeric input box generate state events. These state events can be utilized as `automation` triggers as well. To enable this input number in your installation, add the following lines to your `configuration.yaml`: @@ -32,13 +32,6 @@ input_number: max: 35 step: 1 mode: box - both1: - name: Slider with Numeric Input Box - initial: 30 - min: -20 - max: 35 - step: 1 - mode: both ``` Configuration variables: @@ -49,7 +42,7 @@ Configuration variables: - **name** (*Optional*): Friendly name of the input. - **initial** (*Optional*): Initial value when Home Assistant starts. Defaults to 0. - **step** (*Optional*): Step value for the slider. Defaults to 1. - - **mode** (*Optional*): Can specify `both`, `box`, or `slider`. Defaults to `slider`. + - **mode** (*Optional*): Can specify `box`, or `slider`. Defaults to `slider`. ## {% linkable_title Automation Examples %}