From 9289fd21ff133b62e130566a1ad0790bb01280d2 Mon Sep 17 00:00:00 2001 From: Georgi Kirichkov Date: Sun, 8 Oct 2017 12:25:02 +0300 Subject: [PATCH 1/2] Update input_number.markdown Includes description of the `unit_of_measurement` and `icon` options --- source/_components/input_number.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/input_number.markdown b/source/_components/input_number.markdown index f215881df49..8eb1984d529 100644 --- a/source/_components/input_number.markdown +++ b/source/_components/input_number.markdown @@ -44,6 +44,8 @@ Configuration variables: - **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 `box`, or `slider`. Defaults to `slider`. + - **unit_of_measurement** (*Optional*): Unit of measurement in which the value of the slider is expressed in. + - **icon** (Optional): Icon to display in front of the box/slider in the frontend. Refer to the [Customizing devices](https://home-assistant.io/docs/configuration/customizing-devices/#possible-values) page for possible values. ## {% linkable_title Automation Examples %} From 8692aec8324bda3267765ddac56f5cb9663388b7 Mon Sep 17 00:00:00 2001 From: Georgi Kirichkov Date: Sun, 8 Oct 2017 12:26:02 +0300 Subject: [PATCH 2/2] Optional has to be italic --- source/_components/input_number.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/input_number.markdown b/source/_components/input_number.markdown index 8eb1984d529..3a5202960ba 100644 --- a/source/_components/input_number.markdown +++ b/source/_components/input_number.markdown @@ -45,7 +45,7 @@ Configuration variables: - **step** (*Optional*): Step value for the slider. Defaults to 1. - **mode** (*Optional*): Can specify `box`, or `slider`. Defaults to `slider`. - **unit_of_measurement** (*Optional*): Unit of measurement in which the value of the slider is expressed in. - - **icon** (Optional): Icon to display in front of the box/slider in the frontend. Refer to the [Customizing devices](https://home-assistant.io/docs/configuration/customizing-devices/#possible-values) page for possible values. + - **icon** (*Optional*): Icon to display in front of the box/slider in the frontend. Refer to the [Customizing devices](https://home-assistant.io/docs/configuration/customizing-devices/#possible-values) page for possible values. ## {% linkable_title Automation Examples %}