Anyone familiar with the ESPHome Lamda Calls? I’m a little confused on how to use the one I want. I am trying to get the current position of a stepper motor and this is what it say for Lamda Call:
current_postion: Get the current postion of the stepper as an integer.
int pos = id(my_stepper).current_position;
I am not sure how to set this up in the esphome yaml, and once this is done I am guessing that it will create a senor in Homeassistant that will get me the results. Any help on the issue would be greatly appreciated, Thanks…
Edit: @OttoWinter , is it possible you can ring in on this and push me in the right direction, thanks.