Comment lack of rounding in AlexaTemperatureSensor (#87561)
This commit is contained in:
parent
a090652560
commit
e4285b0186
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue