From aecc3fda5fac78883d7599cad959654e478296f5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 15 Mar 2016 08:02:46 +0100 Subject: [PATCH] Add docs for input_slider --- source/_components/input_slider.markdown | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 source/_components/input_slider.markdown diff --git a/source/_components/input_slider.markdown b/source/_components/input_slider.markdown new file mode 100644 index 00000000000..5fd9d136c42 --- /dev/null +++ b/source/_components/input_slider.markdown @@ -0,0 +1,33 @@ +--- +layout: page +title: "Input Slider" +description: "Instructions how to integrate the Input Slider component into Home Assistant." +date: 2016-03-15 06:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: home-assistant.png +ha_category: Automation +--- + +The `input_slider` component allows the user to define values that can be controlled via the frontend and can be used within conditions of automation. + +```yaml +# Example configuration.yaml entry +input_slider: + slider1: + name: Slider 1 + initial: 30 + min: -20 + max: 35 +``` + +Configuration variables: + +- **[alias]** (*Required*): Alias for the slider input. +- **name** (*Optional*): Friendly name of the slider input. +- **initial** (*Optional*): Initial value when Home Assistant starts. +- **min** (*Optional*): Minimum value for the slider. +- **max** (*Optional*): Maximum value for the slider. +