Skip to content

Commit ad149ea

Browse files
resolved a syntax error causing an error for non-metric conversion
1 parent c08245f commit ad149ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/airthings_wave/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,5 @@ def update(self):
234234
if self._sensor_specifics.unit_scale is None:
235235
self._state = value
236236
else:
237-
self._state = round(float(value * self._sensor_specifics.unit_scale, 2))
237+
self._state = round(float(value * self._sensor_specifics.unit_scale), 2)
238238
_LOGGER.debug("State {} {}".format(self._name, self._state))

0 commit comments

Comments
 (0)