Fixed wrong conversion of values read from sensors

Jira Issue: WP-1125