Update servo.rst

This commit is contained in:
Otto Winter 2019-03-16 22:21:42 +01:00
parent 95c042744b
commit dacc730d37
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -130,7 +130,7 @@ be able to control the servo from the frontend.
# Replace livingroom with the name you gave the ESP # Replace livingroom with the name you gave the ESP
- service: esphome.livingroom_control_servo - service: esphome.livingroom_control_servo
data_template: data_template:
target: '{{ trigger.to_state.state | int }}' level: '{{ trigger.to_state.state | int }}'
.. code-block:: yaml .. code-block:: yaml