Skip to content

Commit

Permalink
deCONZ - Change attribute Watts to W (#24535)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kane610 committed Jun 14, 2019
1 parent 8951c80 commit 9aeb75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/deconz/sensor.py
Expand Up @@ -100,7 +100,7 @@ def device_state_attributes(self):
self._device.dark is not None:
attr[ATTR_DARK] = self._device.dark

if self.unit_of_measurement == 'Watts':
if self.unit_of_measurement == 'W':
attr[ATTR_CURRENT] = self._device.current
attr[ATTR_VOLTAGE] = self._device.voltage

Expand Down

0 comments on commit 9aeb75f

Please sign in to comment.