diff --git a/homeassistant/components/wirelesstag.py b/homeassistant/components/wirelesstag.py index f2832100066..77b4c48b41b 100644 --- a/homeassistant/components/wirelesstag.py +++ b/homeassistant/components/wirelesstag.py @@ -271,7 +271,7 @@ class WirelessTagBaseSensor(Entity): 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),