Fix bug of current sensor (#3488)* Fix bug of current sensorThis issue was identified when testing the conversion of the library https://github.com/christiankral/KeyWordIO* Fix unit