Fix style issue
This commit is contained in:
parent
4bc33d0352
commit
719f9a63d9
1 changed files with 2 additions and 1 deletions
|
@ -148,7 +148,8 @@ class VeraSensor(Entity):
|
|||
def update(self):
|
||||
if self.vera_device.category == "Temperature Sensor":
|
||||
current_temp = self.vera_device.get_value('CurrentTemperature')
|
||||
vera_temp_units = self.vera_device.vera_controller.temperature_units
|
||||
vera_temp_units = (
|
||||
self.vera_device.vera_controller.temperature_units)
|
||||
|
||||
if vera_temp_units == 'F':
|
||||
self._temperature_units = TEMP_FAHRENHEIT
|
||||
|
|
Loading…
Add table
Reference in a new issue