mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Allow thermostat temperatures with decimal numbers
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||
VERSION = "dff74f773ea8b0356b0bd8130ed6f0cf"
|
||||
VERSION = "c90d40a0240cc1feec791ee820d928b3"
|
||||
|
File diff suppressed because one or more lines are too long
@@ -147,13 +147,13 @@ class ThermostatDevice(Entity):
|
||||
data = {
|
||||
ATTR_CURRENT_TEMPERATURE:
|
||||
self._convert(self.current_temperature, 1),
|
||||
ATTR_MIN_TEMP: self._convert(self.min_temp, 0),
|
||||
ATTR_MAX_TEMP: self._convert(self.max_temp, 0),
|
||||
ATTR_TEMPERATURE: self._convert(self.target_temperature, 0),
|
||||
ATTR_MIN_TEMP: self._convert(self.min_temp, 1),
|
||||
ATTR_MAX_TEMP: self._convert(self.max_temp, 1),
|
||||
ATTR_TEMPERATURE: self._convert(self.target_temperature, 1),
|
||||
ATTR_TEMPERATURE_LOW:
|
||||
self._convert(self.target_temperature_low, 0),
|
||||
self._convert(self.target_temperature_low, 1),
|
||||
ATTR_TEMPERATURE_HIGH:
|
||||
self._convert(self.target_temperature_high, 0),
|
||||
self._convert(self.target_temperature_high, 1),
|
||||
}
|
||||
|
||||
operation = self.operation
|
||||
|
Reference in New Issue
Block a user