mirror of
https://github.com/esphome/esphome.git
synced 2025-01-08 05:41:44 +01:00
Use suggested feedback.
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
bf95d1a2a6
commit
f21bd4947b
1 changed files with 0 additions and 3 deletions
|
@ -71,11 +71,8 @@ def validate_speed(value):
|
||||||
Rotation = stepper_ns.enum("Rotation")
|
Rotation = stepper_ns.enum("Rotation")
|
||||||
ROTATIONS = {
|
ROTATIONS = {
|
||||||
"BOTH": Rotation.ROTATION_BOTH,
|
"BOTH": Rotation.ROTATION_BOTH,
|
||||||
"CW": Rotation.ROTATION_CW,
|
|
||||||
"CLOCKWISE": Rotation.ROTATION_CW,
|
"CLOCKWISE": Rotation.ROTATION_CW,
|
||||||
"CCW": Rotation.ROTATION_CCW,
|
|
||||||
"COUNTERCLOCKWISE": Rotation.ROTATION_CCW,
|
"COUNTERCLOCKWISE": Rotation.ROTATION_CCW,
|
||||||
"COUNTER-CLOCKWISE": Rotation.ROTATION_CCW,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
STEPPER_SCHEMA = cv.Schema(
|
STEPPER_SCHEMA = cv.Schema(
|
||||||
|
|
Loading…
Reference in a new issue