mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-28 03:41:57 +01:00
Fix typos in code snippets for stepper component (#1938)
Fix the code snippets that demonstrate stepper.set_acceleration and stepper.set_deceleration, which both erroneously used the key "speed" instead of the correct "acceleration" and "deceleration".
This commit is contained in:
parent
b7d1f8698e
commit
19482f862e
@ -240,7 +240,7 @@ This :ref:`Action <config-action>` allows you to set the acceleration of a stepp
|
|||||||
on_...:
|
on_...:
|
||||||
- stepper.set_acceleration:
|
- stepper.set_acceleration:
|
||||||
id: my_stepper
|
id: my_stepper
|
||||||
speed: 250 steps/s^2
|
acceleration: 250 steps/s^2
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
@ -260,7 +260,7 @@ This :ref:`Action <config-action>` allows you to set the deceleration of a stepp
|
|||||||
on_...:
|
on_...:
|
||||||
- stepper.set_deceleration:
|
- stepper.set_deceleration:
|
||||||
id: my_stepper
|
id: my_stepper
|
||||||
speed: 250 steps/s^2
|
deceleration: 250 steps/s^2
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user