Fixed Data Type Bug

[See closed issue](https://github.com/vicnala/potentiometer/issues/1), hope this helps!