Remove openexchangerates sensor rounding (#103972)

This commit is contained in:
Martin Hjelmare 2023-11-14 19:01:45 +01:00 committed by GitHub
parent be8507f870
commit 9facdc2dbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,4 +64,4 @@ class OpenexchangeratesSensor(
@property
def native_value(self) -> float:
"""Return the state of the sensor."""
return round(self.coordinator.data.rates[self._quote], 4)
return self.coordinator.data.rates[self._quote]