Open Coninox opened 3 years ago
+1 This would be really great!
It is not very intuitive, but I found that you can set the transition length using a lambda call.
- lambda: |- servo_id->set_transition_length(5000);
where servo_id is the id you set in the servo component definition under id:
. This workaround is good enough for me for now.
@narolinus can you elaborate a little more on your work around? I'm trying to control both the level and the transition_length of a servo via the API and Input_number helpers from Home Assistant. I'm able to control the level without issue but can't figure out how to control the transition_length outside of hard coding it in the ESPhome config. Would you mind sharing more of your config?
Describe the problem you have/What new integration you would like
It would be nice if we could set the transition_length parameter in the servo.write action. We could have the ability to have different rotation speed in different cases.
Please describe your use case for this integration and alternatives you've tried:
For example:
Additional context