mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 12:06:26 +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
@ -71,11 +71,8 @@ def validate_speed(value):
|
||||
Rotation = stepper_ns.enum("Rotation")
|
||||
ROTATIONS = {
|
||||
"BOTH": Rotation.ROTATION_BOTH,
|
||||
"CW": Rotation.ROTATION_CW,
|
||||
"CLOCKWISE": Rotation.ROTATION_CW,
|
||||
"CCW": Rotation.ROTATION_CCW,
|
||||
"COUNTERCLOCKWISE": Rotation.ROTATION_CCW,
|
||||
"COUNTER-CLOCKWISE": Rotation.ROTATION_CCW,
|
||||
}
|
||||
|
||||
STEPPER_SCHEMA = cv.Schema(
|
||||
|
Loading…
Reference in New Issue
Block a user