mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-24 03:02:12 +01:00
Update servo.rst
This commit is contained in:
parent
95c042744b
commit
dacc730d37
@ -130,7 +130,7 @@ be able to control the servo from the frontend.
|
||||
# Replace livingroom with the name you gave the ESP
|
||||
- service: esphome.livingroom_control_servo
|
||||
data_template:
|
||||
target: '{{ trigger.to_state.state | int }}'
|
||||
level: '{{ trigger.to_state.state | int }}'
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user