Merge pull request #3403 from BioSehnsucht/rename-input-slider

Rename input_slider to input_number and add numeric text box option
This commit is contained in:
Fabian Affolter 2017-10-07 21:44:23 +02:00 committed by Fabian Affolter
parent 48d1b3347f
commit 7076f2006d
No known key found for this signature in database
GPG key ID: DDF3D6F44AAB1336
7 changed files with 59 additions and 51 deletions

View file

@ -39,11 +39,11 @@ automation:
- alias: run_set_ac
trigger:
platform: state
entity_id: input_slider.ac_temperature
entity_id: input_number.ac_temperature
action:
service: shell_command.set_ac_to_slider
input_slider:
input_number:
ac_temperature:
name: A/C Setting
initial: 24
@ -53,6 +53,6 @@ input_slider:
{% raw %}
shell_command:
set_ac_to_slider: 'irsend SEND_ONCE DELONGHI AC_{{ states.input_slider.ac_temperature.state }}_AUTO'
set_ac_to_slider: 'irsend SEND_ONCE DELONGHI AC_{{ states.input_number.ac_temperature.state }}_AUTO'
{% endraw %}
```