mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Comment lack of rounding in AlexaTemperatureSensor (#87561)
This commit is contained in:
@@ -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]}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user