mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Correct formatting
This commit is contained in:
parent
0cf909cce9
commit
a3d295d885
@ -70,7 +70,6 @@ class RadioThermostat(ThermostatDevice):
|
|||||||
"mode": self.device.tmode['human']
|
"mode": self.device.tmode['human']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def current_temperature(self):
|
def current_temperature(self):
|
||||||
""" Returns the current temperature. """
|
""" Returns the current temperature. """
|
||||||
@ -97,7 +96,6 @@ class RadioThermostat(ThermostatDevice):
|
|||||||
|
|
||||||
return round(temp, 1)
|
return round(temp, 1)
|
||||||
|
|
||||||
|
|
||||||
def set_temperature(self, temperature):
|
def set_temperature(self, temperature):
|
||||||
""" Set new target temperature """
|
""" Set new target temperature """
|
||||||
if self.operation == STATE_COOL:
|
if self.operation == STATE_COOL:
|
||||||
@ -108,6 +106,3 @@ class RadioThermostat(ThermostatDevice):
|
|||||||
def set_name(self, name):
|
def set_name(self, name):
|
||||||
""" Set thermostat name """
|
""" Set thermostat name """
|
||||||
self.device.name = name
|
self.device.name = name
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user