Fixed double attribute value.
Sensor: Fixed calculation issue.