mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Input Number - Cleaned up my old example (#3920)
Input Number - Cleaned up my old code example.
This commit is contained in:
parent
0054d900b2
commit
9afaa05223
@ -145,13 +145,12 @@ input_number:
|
||||
icon: mdi:target
|
||||
|
||||
# Automation.
|
||||
# This automation script runs when a value is received via MQTT on retained topic: setTemperature
|
||||
# It sets the value slider on the GUI. This slides also had its own automation when the value is changed.
|
||||
# This automation script runs when a value is received via MQTT on retained topic: setTemperature
|
||||
# It sets the value slider on the GUI. This slides also had its own automation when the value is changed.
|
||||
- alias: Set temp slider
|
||||
trigger:
|
||||
platform: mqtt
|
||||
topic: "setTemperature"
|
||||
# entity_id: input_number.target_temp
|
||||
action:
|
||||
service: input_number.set_value
|
||||
data_template:
|
||||
|
Loading…
x
Reference in New Issue
Block a user