mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Remove openexchangerates sensor rounding (#103972)
This commit is contained in:
parent
be8507f870
commit
9facdc2dbb
@ -64,4 +64,4 @@ class OpenexchangeratesSensor(
|
|||||||
@property
|
@property
|
||||||
def native_value(self) -> float:
|
def native_value(self) -> float:
|
||||||
"""Return the state of the sensor."""
|
"""Return the state of the sensor."""
|
||||||
return round(self.coordinator.data.rates[self._quote], 4)
|
return self.coordinator.data.rates[self._quote]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user