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:
parent
48d1b3347f
commit
7076f2006d
7 changed files with 59 additions and 51 deletions
|
@ -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 %}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue