mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Comment lack of rounding in AlexaTemperatureSensor (#87561)
This commit is contained in:
parent
a090652560
commit
e4285b0186
@ -938,6 +938,8 @@ class AlexaTemperatureSensor(AlexaCapability):
|
||||
_LOGGER.warning("Invalid temp value %s for %s", temp, self.entity.entity_id)
|
||||
return None
|
||||
|
||||
# Alexa displays temperatures with one decimal digit, we don't need to do
|
||||
# rounding for presentation here.
|
||||
return {"value": temp, "scale": API_TEMP_UNITS[unit]}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user