Skip to content

Commit

Permalink
Merge cb3ce30 into 8bd281d
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskacerguis committed Nov 10, 2018
2 parents 8bd281d + cb3ce30 commit 3152fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/wirelesstag.py
Expand Up @@ -271,7 +271,7 @@ def update(self):
def device_state_attributes(self):
"""Return the state attributes."""
return {
ATTR_BATTERY_LEVEL: self._tag.battery_remaining,
ATTR_BATTERY_LEVEL: int(self._tag.battery_remaining*100),
ATTR_VOLTAGE: '{:.2f}V'.format(self._tag.battery_volts),
ATTR_TAG_SIGNAL_STRENGTH: '{}dBm'.format(
self._tag.signal_strength),
Expand Down

0 comments on commit 3152fd3

Please sign in to comment.