'Return the state attributes.'

@property
def device_state_attributes(self):

    attrs = {}
    if self._battery_level:
        attrs[ATTR_BATTERY_LEVEL] = self._battery_level
    if self._last_updated:
        attrs[ATTR_LAST_UPDATED] = self._last_updated
    return attrs
