Add report_position test

Fixes https://github.com/esphome/issues/issues/46
This commit is contained in:
Otto Winter 2019-02-22 17:43:30 +01:00
parent af0c213024
commit 3d1cce2a29
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -996,6 +996,9 @@ switch:
i = -5000; i = -5000;
} }
return i; return i;
- stepper.report_position:
id: my_stepper
position: 0
fan: fan:
- platform: binary - platform: binary